Class: Signature

Signature(packetlist)

Class that represents an OpenPGP signature.

Constructor

new Signature(packetlist)

Parameters:
Name Type Description
packetlist PacketList

The signature packets

Source:

Classes

Signature

Methods

armor(config) → {ReadableStream.<String>}

Returns ASCII armored text of signature

Parameters:
Name Type Description
config Object

(optional) full configuration, defaults to openpgp.config

Source:
Returns:

ASCII armor

Type
ReadableStream.<String>

write() → {ReadableStream.<Uint8Array>}

Returns binary encoded signature

Source:
Returns:

binary signature

Type
ReadableStream.<Uint8Array>