GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing docs.openpgpjs.org — JSDoc: Class: PublicKeyPacket Constructornew PublicKeyPacket(dateopt, configopt)Parameters:
Membersalgorithm :enums.publicKeyPublic key algorithm. Type:
created :DateKey creation date. Type:
expirationTimeV3 :IntegerTime until expiration in days (V3 only) Type:
fingerprint :Uint8ArrayFingerprint bytes Type:
keyID :module:type/keyid~KeyIDKeyID Type:
publicParams :ObjectAlgorithm specific public params Type:
readPublicKeyAlias of read()
version :IntegerPacket version Type:
writePublicKeyAlias of write()
Methods(async) computeFingerprint()Computes and set the fingerprint of the key
(async) computeFingerprintAndKeyID()Computes and set the key ID and fingerprint of the key
getAlgorithmInfo() → {Object}Returns algorithm information
Returns:An object of the form {algorithm: String, bits:int, curve:String}.
getCreationTime() → {Date}Returns the creation time of the key
Returns:
getFingerprint() → {String}Calculates and returns the fingerprint of the key, as a string
Returns:A string containing the fingerprint in lowercase hex
getFingerprintBytes() → {Uint8Array}Returns the fingerprint of the key, as an array of bytes
Returns:A Uint8Array containing the fingerprint
getKeyID() → {module:type/keyid~KeyID}Return the key ID of the key
Returns:The 8-byte key ID
hasSameFingerprintAs() → {Boolean}Calculates whether two keys have the same fingerprint without actually calculating the fingerprint
Returns:Whether the two keys have the same version and public key data.
isDecrypted() → {Boolean|null}Check whether secret-key data is available in decrypted form. Returns null for public keys.
Returns:
(async) read(bytes) → {Promise.<number>}Internal Parser for public keys as specified in RFC 4880 section 5.5.2 Public-Key Packet Formats Parameters:
Returns:The number of bytes read from
write() → {Uint8Array}Creates an OpenPGP public key packet for the given key.
Returns:Bytes encoding the public key OpenPGP packet.
writeForHash(version)Write packet in order to be hashed; either for a signature or a fingerprint Parameters:
(static) fromSecretKeyPacket(secretKeyPacket) → {PublicKeyPacket}Create a PublicKeyPacket from a SecretKeyPacket Parameters:
Returns:public key packet
| ||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |