Module: packet

Classes

Compressed
List
Literal
Marker
OnePassSignature
PublicKey
PublicKeyEncryptedSessionKey
PublicSubkey
SecretKey
SecretSubkey
Signature
SymEncryptedAEADProtected
SymEncryptedIntegrityProtected
SymEncryptedSessionKey
SymmetricallyEncrypted
Trust
UserAttribute
Userid

Methods

(static) fromStructuredClone(packetClone) → {Object}

Allocate a new packet from structured packet clone

Parameters:
Name Type Description
packetClone Object

packet clone

Source:
See:
Returns:

new packet object with data from packet clone

Type
Object

(static) newPacketFromTag(tag) → {Object}

Allocate a new packet

Parameters:
Name Type Description
tag String

property name from module:enums.packet

Source:
Returns:

new packet object with type based on tag

Type
Object