Module: packet/one_pass_signature

packet/one_pass_signature

Implementation of the One-Pass Signature Packets (Tag 4)

RFC4880 5.4: The One-Pass Signature packet precedes the signed data and contains enough information to allow the receiver to begin calculating any hashes needed to verify the signature. It allows the Signature packet to be placed at the end of the message, so that the signer can compute the entire signed message in one pass.

new (require("packet/one_pass_signature"))()

Source:
Source:

Requires

Methods

read(bytes) → {module:packet/one_pass_signature}

parsing function for a one-pass signature packet (tag 4).
Parameters:
Name Type Description
bytes String payload of a tag 4 packet
Source:
Returns:
object representation
Type
module:packet/one_pass_signature

write() → {String}

creates a string representation of a one-pass signature packet
Source:
Returns:
a string representation of a one-pass signature packet
Type
String