PHP Class OpenPGP, horde

See also: http://tools.ietf.org/html/rfc4880
显示文件 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
bitlength ( $data )
crc24 ( $data )
decode_s2k_count ( $c )
enarmor ( $data, $marker = 'MESSAGE', array $headers = [] )
encode_s2k_count ( $iterations )
footer ( $marker )
header ( $marker )
unarmor ( $text, $header = 'PGP PUBLIC KEY BLOCK' )

Method Details

bitlength() static public method

See also: http://tools.ietf.org/html/rfc4880#section-12.2
static public bitlength ( $data )

crc24() static public method

See also: http://tools.ietf.org/html/rfc4880#section-6
See also: http://tools.ietf.org/html/rfc4880#section-6.1
static public crc24 ( $data )

decode_s2k_count() static public method

static public decode_s2k_count ( $c )

enarmor() static public method

See also: http://tools.ietf.org/html/rfc4880#section-6
See also: http://tools.ietf.org/html/rfc4880#section-6.2
See also: http://tools.ietf.org/html/rfc2045
static public enarmor ( $data, $marker = 'MESSAGE', array $headers = [] )
$headers array

encode_s2k_count() static public method

static public encode_s2k_count ( $iterations )

header() static public method

See also: http://tools.ietf.org/html/rfc4880#section-6.2
static public header ( $marker )

unarmor() static public method

See also: http://tools.ietf.org/html/rfc4880#section-6
See also: http://tools.ietf.org/html/rfc2045
static public unarmor ( $text, $header = 'PGP PUBLIC KEY BLOCK' )