PHP Class OpenPGP_Message, horde

See also: http://tools.ietf.org/html/rfc4880#section-4.1
See also: http://tools.ietf.org/html/rfc4880#section-11
See also: http://tools.ietf.org/html/rfc4880#section-11.3
Inheritance: implements IteratorAggregate, implements ArrayAccess
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$packets
$uri

Public Methods

Method Description
__construct ( array $packets = [] )
getIterator ( ) IteratorAggregate interface
offsetExists ( $offset ) ArrayAccess interface
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
parse ( $input )
parse_file ( $path )
parse_stream ( $input )
parse_string ( $input )
signatures ( ) Extract signed objects from a well-formatted message
to_bytes ( )
verified_signatures ( $verifiers ) Function to extract verified signatures $verifiers is an array of callbacks formatted like array('RSA' => array('SHA256' => CALLBACK)) that take two parameters: raw message and signature packet
verify_one ( $verifier, $sign, $sig )

Method Details

__construct() public method

public __construct ( array $packets = [] )
$packets array

getIterator() public method

IteratorAggregate interface
public getIterator ( )

offsetExists() public method

ArrayAccess interface
public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

parse() static public method

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

parse_file() static public method

static public parse_file ( $path )

parse_stream() static public method

static public parse_stream ( $input )

parse_string() static public method

static public parse_string ( $input )

signatures() public method

Recurses into CompressedDataPacket
See also: http://tools.ietf.org/html/rfc4880#section-11
public signatures ( )

to_bytes() public method

public to_bytes ( )

verified_signatures() public method

Function to extract verified signatures $verifiers is an array of callbacks formatted like array('RSA' => array('SHA256' => CALLBACK)) that take two parameters: raw message and signature packet
public verified_signatures ( $verifiers )

verify_one() public method

public verify_one ( $verifier, $sign, $sig )

Property Details

$packets public_oe property

public $packets

$uri public_oe property

public $uri