OpenPGP PHP
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes | List of all members
OpenPGP_SymmetricSessionKeyPacket Class Reference

OpenPGP Symmetric-Key Encrypted Session Key packet (tag 3). More...

Inheritance diagram for OpenPGP_SymmetricSessionKeyPacket:
OpenPGP_Packet

Public Member Functions

 __construct ($s2k=NULL, $encrypted_data='', $symmetric_algorithm=9, $version=3)
 
 read ()
 
 body ()
 
- 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)
 

Public Attributes

 $version
 
 $symmetric_algorithm
 
 $s2k
 
 $encrypted_data
 
- Public Attributes inherited from OpenPGP_Packet
 $tag
 
 $size
 
 $data
 

Additional Inherited Members

- 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...
 
- Static Public Attributes inherited from OpenPGP_Packet
static $tags
 

Detailed Description

OpenPGP Symmetric-Key Encrypted Session Key packet (tag 3).

See Also
http://tools.ietf.org/html/rfc4880#section-5.3

Definition at line 1245 of file openpgp.php.

Constructor & Destructor Documentation

OpenPGP_SymmetricSessionKeyPacket::__construct (   $s2k = NULL,
  $encrypted_data = '',
  $symmetric_algorithm = 9,
  $version = 3 
)

Definition at line 1248 of file openpgp.php.

Member Function Documentation

OpenPGP_SymmetricSessionKeyPacket::body ( )

Definition at line 1263 of file openpgp.php.

OpenPGP_SymmetricSessionKeyPacket::read ( )

Definition at line 1256 of file openpgp.php.

Member Data Documentation

OpenPGP_SymmetricSessionKeyPacket::$encrypted_data

Definition at line 1246 of file openpgp.php.

OpenPGP_SymmetricSessionKeyPacket::$s2k

Definition at line 1246 of file openpgp.php.

OpenPGP_SymmetricSessionKeyPacket::$symmetric_algorithm

Definition at line 1246 of file openpgp.php.

OpenPGP_SymmetricSessionKeyPacket::$version

Definition at line 1246 of file openpgp.php.