-
getBitSize() → {int}
-
Returns bit size of key
- Source:
Returns:
Number of bits
-
Type
-
int
-
getFingerprint() → {String}
-
Calculates the fingerprint of the key
- Source:
Returns:
A string containing the fingerprint
-
Type
-
String
-
getKeyId() → {String}
-
Calculates the key id of the key
- Source:
Returns:
A 8 byte key id
-
Type
-
String
-
postCloneTypeFix()
-
Fix custom types after cloning
- Source:
-
read(input) → {Object}
-
Parameters:
Name |
Type |
Description |
input |
String
|
Input string to read the packet from |
- Source:
Returns:
This object with attributes set by the parser
-
Type
-
Object
-
write() → {Object}
-
Same as write_private_key, but has less information because of
public key.
- Source:
Returns:
{body: [string]OpenPGP packet body contents,
header: [string] OpenPGP packet header, string: [string] header+body}
-
Type
-
Object
-
writeOld()
-
Write an old version packet - it's used by some of the internal routines.
- Source: