ASN1Object Class Reference

#include <cryptlib.h>

Inheritance diagram for ASN1Object:

ASN1CryptoMaterial< BASE > ASN1CryptoMaterial< DL_GroupParameters< Integer > > ASN1CryptoMaterial< PrivateKey > ASN1CryptoMaterial< PublicKey > Integer DL_GroupParameters_IntegerBased PKCS8PrivateKey ESIGNFunction X509PublicKey DL_GroupParametersImpl< DL_GroupPrecomputation_LUC, DL_BasePrecomputation_LUC, DL_GroupParameters_IntegerBased > DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, DL_GroupParameters_IntegerBased > DL_GroupParametersImpl< ModExpPrecomputation, DL_FixedBasePrecomputationImpl< typenameModExpPrecomputation::Element >, DL_GroupParameters_IntegerBased > DL_KeyImpl< PKCS8PrivateKey, DL_GroupParameters_EC< EC > > DL_KeyImpl< PKCS8PrivateKey, GP > InvertibleRSAFunction InvertibleESIGNFunction DL_KeyImpl< X509PublicKey, DL_GroupParameters_EC< EC > > DL_KeyImpl< X509PublicKey, GP > RSAFunction List of all members.

Detailed Description

interface for encoding and decoding ASN1 objects

Definition at line 1569 of file cryptlib.h.

Public Member Functions

virtual ~ASN1Object ()
virtual void BERDecode (BufferedTransformation &bt)=0
 decode this object from a BufferedTransformation, using BER (Basic Encoding Rules)
virtual void DEREncode (BufferedTransformation &bt) const =0
 encode this object into a BufferedTransformation, using DER (Distinguished Encoding Rules)
virtual void BEREncode (BufferedTransformation &bt) const
 encode this object into a BufferedTransformation, using BER


Member Function Documentation

virtual void ASN1Object::BEREncode ( BufferedTransformation bt  )  const [inline, virtual]

encode this object into a BufferedTransformation, using BER

this may be useful if DEREncode() would be too inefficient

Definition at line 1579 of file cryptlib.h.

Referenced by ASN1CryptoMaterial< PublicKey >::Save().


The documentation for this class was generated from the following file:
Generated on Sat Dec 23 02:07:14 2006 for Crypto++ by  doxygen 1.5.1-p1