Package M2Crypto :: Package PGP :: Module packet'
[frames] | no frames]

Module packet'



M2Crypto PGP2.

This module implements PGP packets per RFC1991 and various source distributions.

Each packet type is represented by a class; packet classes derive from the abstract 'packet' class.

The 'message digest' packet type, mentioned but not documented in RFC1991, is not implemented.

Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.

Classes
  cke_packet
  comment_packet
  compressed_packet
  literal_packet
  packet
  packet_stream
  pke_packet
  private_key_packet
  public_key_packet
  signature_packet
  trust_packet
  userid_packet
Functions
 
is_ctb(ctb)
 
make_ctb(value, llf)
Variables
  CTB_CKE = 9
  CTB_COMMENT = 14
  CTB_COMPRESSED_DATA = 8
  CTB_LITERAL_DATA = 11
  CTB_MESSAGE_DIGETS = 3
  CTB_PKE = 1
  CTB_PRIVATE_KEY = 5
  CTB_PUBLIC_KEY = 6
  CTB_SIGNATURE = 2
  CTB_TAG = 128
  CTB_TRUST = 12
  CTB_USERID = 13