Crypto++
Public Member Functions | Protected Attributes
PKCS8PrivateKey Class Reference

encodes/decodes privateKeyInfo More...

#include <asn.h>

Inheritance diagram for PKCS8PrivateKey:
ASN1CryptoMaterial< PrivateKey > InvertibleRSAFunction InvertibleRSAFunction_ISO

List of all members.

Public Member Functions

void BERDecode (BufferedTransformation &bt)
void DEREncode (BufferedTransformation &bt) const
virtual OID GetAlgorithmID () const =0
virtual bool BERDecodeAlgorithmParameters (BufferedTransformation &bt)
virtual bool DEREncodeAlgorithmParameters (BufferedTransformation &bt) const
virtual void BERDecodePrivateKey (BufferedTransformation &bt, bool parametersPresent, size_t size)=0
 decode privateKey part of privateKeyInfo, without the OCTET STRING header
virtual void DEREncodePrivateKey (BufferedTransformation &bt) const =0
 encode privateKey part of privateKeyInfo, without the OCTET STRING header
virtual void BERDecodeOptionalAttributes (BufferedTransformation &bt)
 decode optional attributes including context-specific tag
virtual void DEREncodeOptionalAttributes (BufferedTransformation &bt) const
 encode optional attributes including context-specific tag
void Save (BufferedTransformation &bt) const
void Load (BufferedTransformation &bt)

Protected Attributes

ByteQueue m_optionalAttributes

Detailed Description

encodes/decodes privateKeyInfo


Member Function Documentation

void PKCS8PrivateKey::BERDecodeOptionalAttributes ( BufferedTransformation bt) [virtual]

decode optional attributes including context-specific tag

/note default implementation stores attributes to be output in DEREncodeOptionalAttributes

Definition at line 585 of file asn.cpp.


The documentation for this class was generated from the following files: