Module: packet/public_key

packet/public_key

new require("packet/public_key")()

Source:
Source:

Members

algorithm :openpgp.publickey

Public key algorithm
Type:
  • openpgp.publickey
Source:

created :Date

Key creation date.
Type:
  • Date
Source:

mpi :module:type/mpi

A list of multiprecision integers
Type:
Source:

readPublicKey

Internal Parser for public keys as specified in RFC 4880 section 5.5.2 Public-Key Packet Formats called by read_tag<num>
Source:

Methods

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