PHP Class OpenPGP_SignaturePacket, horde

See also: http://tools.ietf.org/html/rfc4880#section-5.2
Inheritance: extends OpenPGP_Packet
Show file Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$hash_algorithm
$hash_algorithms
$hash_head
$hashed_subpackets
$key_algorithm
$signature_type
$subpacket_types
$trailer
$unhashed_subpackets
$version

Public Methods

Method Description
__construct ( $data = NULL, $key_algorithm = NULL, $hash_algorithm = NULL ) This is the literal bytes that get tacked on the end of the message when verifying the signature
body ( )
body_start ( )
calculate_trailer ( )
class_for ( $tag )
get_subpacket ( &$input )
get_subpackets ( $input )
hash_algorithm_name ( )
issuer ( )
key_algorithm_name ( )
read ( )
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.

Method Details

__construct() public method

This is the literal bytes that get tacked on the end of the message when verifying the signature
public __construct ( $data = NULL, $key_algorithm = NULL, $hash_algorithm = NULL )

body() public method

public body ( )

body_start() public method

public body_start ( )

calculate_trailer() public method

public calculate_trailer ( )

class_for() static public method

static public class_for ( $tag )

get_subpacket() static public method

static public get_subpacket ( &$input )

get_subpackets() static public method

See also: http://tools.ietf.org/html/rfc4880#section-5.2.3.1
static public get_subpackets ( $input )

hash_algorithm_name() public method

public hash_algorithm_name ( )

issuer() public method

public issuer ( )

key_algorithm_name() public method

public key_algorithm_name ( )

read() public method

public read ( )

sign_data() public method

$this->data must be set to the data to sign (done by constructor) $signers in the same format as $verifiers for OpenPGP_Message.
public sign_data ( $signers )

Property Details

$hash_algorithm public property

public $hash_algorithm

$hash_algorithms static public property

static public $hash_algorithms

$hash_head public property

public $hash_head

$hashed_subpackets public property

public $hashed_subpackets

$key_algorithm public property

public $key_algorithm

$signature_type public property

public $signature_type

$subpacket_types static public property

static public $subpacket_types

$trailer public property

public $trailer

$unhashed_subpackets public property

public $unhashed_subpackets

$version public property

public $version