NAME

Crypt::OpenPGP::OnePassSig - One-Pass Signature packet

SYNOPSIS

use Crypt::OpenPGP::OnePassSig;

my $onepass = Crypt::OpenPGP::OnePassSig->parse($buffer);

DESCRIPTION

Crypt::OpenPGP::OnePassSig implements a PGP One-Pass Signature packet, a packet that precedes the signature data and contains enough information to allow the receiver of the signature to begin computing the hashed data. Standard signature packets always come before the signed data, which forces receivers to backtrack to the beginning of the message--to the signature packet--to add on the signature trailer data. The one-pass signature packet allows the receive to start computing the hashed data while reading the data packet, then continue on sequentially when it reaches the signature packet.

USAGE

my $onepass = Crypt::OpenPGP::OnePassSig->parse($buffer)

Given the Crypt::OpenPGP::Buffer object buffer, which should contain a one-pass signature packet, parses the object from the buffer and returns the object.

AUTHOR & COPYRIGHTS

Please see the Crypt::OpenPGP manpage for author, copyright, and license information.