OpenPGP Signature packet (tag 2). More...
Public Member Functions | |
__construct ($data=NULL, $key_algorithm=NULL, $hash_algorithm=NULL) | |
sign_data ($signers) | |
$this->data must be set to the data to sign (done by constructor) $signers in the same format as $verifiers for OpenPGP_Message. More... | |
read () | |
calculate_trailer () | |
body_start () | |
body () | |
key_algorithm_name () | |
hash_algorithm_name () | |
issuer () | |
Public Member Functions inherited from OpenPGP_Packet | |
__construct ($data=NULL) | |
read () | |
body () | |
header_and_body () | |
to_bytes () | |
read_timestamp () | |
read_mpi () | |
read_unpacked ($count, $format) | |
read_byte () | |
read_bytes ($count=1) | |
Static Public Member Functions | |
static | get_subpackets ($input) |
static | get_subpacket (&$input) |
static | class_for ($tag) |
Static Public Member Functions inherited from OpenPGP_Packet | |
static | class_for ($tag) |
static | parse (&$input) |
Parses an OpenPGP packet. More... | |
static | parse_new_format ($input) |
Parses a new-format (RFC 4880) OpenPGP packet. More... | |
static | parse_old_format ($input) |
Parses an old-format (PGP 2.6.x) OpenPGP packet. More... | |
Public Attributes | |
$version | |
$signature_type | |
$hash_algorithm | |
$key_algorithm | |
$hashed_subpackets | |
$unhashed_subpackets | |
$hash_head | |
$trailer | |
Public Attributes inherited from OpenPGP_Packet | |
$tag | |
$size | |
$data | |
Static Public Attributes | |
static | $hash_algorithms |
static | $subpacket_types |
Static Public Attributes inherited from OpenPGP_Packet | |
static | $tags |
OpenPGP Signature packet (tag 2).
Be sure to NULL the trailer if you update a signature packet!
Definition at line 625 of file openpgp.php.
OpenPGP_SignaturePacket::__construct | ( | $data = NULL , |
|
$key_algorithm = NULL , |
|||
$hash_algorithm = NULL |
|||
) |
Definition at line 629 of file openpgp.php.
OpenPGP_SignaturePacket::body | ( | ) |
Definition at line 737 of file openpgp.php.
OpenPGP_SignaturePacket::body_start | ( | ) |
Definition at line 725 of file openpgp.php.
OpenPGP_SignaturePacket::calculate_trailer | ( | ) |
Definition at line 719 of file openpgp.php.
|
static |
Definition at line 895 of file openpgp.php.
|
static |
Definition at line 820 of file openpgp.php.
|
static |
Definition at line 809 of file openpgp.php.
OpenPGP_SignaturePacket::hash_algorithm_name | ( | ) |
Definition at line 792 of file openpgp.php.
OpenPGP_SignaturePacket::issuer | ( | ) |
Definition at line 796 of file openpgp.php.
OpenPGP_SignaturePacket::key_algorithm_name | ( | ) |
Definition at line 788 of file openpgp.php.
OpenPGP_SignaturePacket::read | ( | ) |
Definition at line 666 of file openpgp.php.
OpenPGP_SignaturePacket::sign_data | ( | $signers) |
$this->data must be set to the data to sign (done by constructor) $signers in the same format as $verifiers for OpenPGP_Message.
Definition at line 658 of file openpgp.php.
OpenPGP_SignaturePacket::$hash_algorithm |
Definition at line 626 of file openpgp.php.
|
static |
Definition at line 849 of file openpgp.php.
OpenPGP_SignaturePacket::$hash_head |
Definition at line 626 of file openpgp.php.
OpenPGP_SignaturePacket::$hashed_subpackets |
Definition at line 626 of file openpgp.php.
OpenPGP_SignaturePacket::$key_algorithm |
Definition at line 626 of file openpgp.php.
OpenPGP_SignaturePacket::$signature_type |
Definition at line 626 of file openpgp.php.
|
static |
Definition at line 859 of file openpgp.php.
OpenPGP_SignaturePacket::$trailer |
Definition at line 627 of file openpgp.php.
OpenPGP_SignaturePacket::$unhashed_subpackets |
Definition at line 626 of file openpgp.php.
OpenPGP_SignaturePacket::$version |
Definition at line 626 of file openpgp.php.