Members
flags
A one-octet number holding a flag showing whether the signature is nested. A zero value indicates that the next packet is another One-Pass Signature packet that describes another signature to be applied to the same message data.
- Source:
hashAlgorithm
A one-octet number describing the hash algorithm used.
- Source:
- See:
issuerKeyId
An eight-octet number holding the Key ID of the signing key.
- Source:
publicKeyAlgorithm
A one-octet number describing the public-key algorithm used.
- Source:
- See:
signatureType
A one-octet signature type. Signature types are described in RFC4880 Section 5.2.1.
- Source:
tag :module:enums.packet
Packet type
Type:
- Source:
version
A one-octet version number. The current version is 3.
- Source:
Methods
read(bytes) → {OnePassSignaturePacket}
parsing function for a one-pass signature packet (tag 4).
Parameters:
Name | Type | Description |
---|---|---|
bytes |
Uint8Array | payload of a tag 4 packet |
- Source:
Returns:
object representation
write() → {Uint8Array}
creates a string representation of a one-pass signature packet
- Source:
Returns:
a Uint8Array representation of a one-pass signature packet
- Type
- Uint8Array