CPKCS7IssuerAndSerialNumber Class Reference

class CPKCS7IssuerAndSerialNumber : public CBase

The issuer and serial number of a PKCS#7 signature.

Inherits from

  • CPKCS7IssuerAndSerialNumber

Constructor & Destructor Documentation

CPKCS7IssuerAndSerialNumber(void)

CPKCS7IssuerAndSerialNumber ( void ) [private]

Constructor

Parameters

void

CPKCS7IssuerAndSerialNumber(const CPKCS7IssuerAndSerialNumber &)

CPKCS7IssuerAndSerialNumber ( const CPKCS7IssuerAndSerialNumber & ) [private]

Copy constructor

~CPKCS7IssuerAndSerialNumber()

IMPORT_C ~CPKCS7IssuerAndSerialNumber ( )

Destructor.

Member Functions Documentation

ConstructL(CX500DistinguishedName *, const TDesC8 &)

void ConstructL ( CX500DistinguishedName * aIssuerName,
const TDesC8 & aSerialNumber
) [private]

Second phase constructor

Parameters

CX500DistinguishedName * aIssuerName the issuer name
const TDesC8 & aSerialNumber the serial number

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aRawData ) [private]

Second phase constructor

Parameters

const TDesC8 & aRawData the raw data to be decoded.

EncodeASN1DERLC()

CASN1EncSequence * EncodeASN1DERLC ( ) const

Creates the ASN1 DER sequence of the signer identifier object and leaves it on the cleanup stack.

IssuerName()

IMPORT_C const CX500DistinguishedName & IssuerName ( ) const

Returns the issuer's distinguished name.

NewL(CX500DistinguishedName *, const TDesC8 &)

CPKCS7IssuerAndSerialNumber * NewL ( CX500DistinguishedName * aIssuerName,
const TDesC8 & aSerialNumber
) [static]

Creates a CMS issuer and serial number object as defined in RFC2630

Parameters

CX500DistinguishedName * aIssuerName The distinguished name of the issuer. Ownership of aIssuerName is transferred to the newly created object. If construction fails, ownership is not transferred. The caller needs to push aIssuerName onto the cleanup stack before calling this method and pop it off the cleanup stack after successful construction.
const TDesC8 & aSerialNumber The serial number of the issuer.

NewL(const TDesC8 &)

CPKCS7IssuerAndSerialNumber * NewL ( const TDesC8 & aRawData ) [static]

Creates a CMS issuer and serial number object as defined in RFC2630.

Parameters

const TDesC8 & aRawData A buffer which holds the encoded issuer and serial number.

NewLC(CX500DistinguishedName *, const TDesC8 &)

CPKCS7IssuerAndSerialNumber * NewLC ( CX500DistinguishedName * aIssuerName,
const TDesC8 & aSerialNumber
) [static]

Creates a CMS issuer and serial number object as defined in RFC2630 and leaves it on the cleanup stack.

Parameters

CX500DistinguishedName * aIssuerName The distinguished name of the issuer. Ownership of aIssuerName is transferred to the newly created object. If construction fails, ownership is not transferred. The caller needs to push aIssuerName onto the cleanup stack before calling this method and pop it off the cleanup stack after successful construction.
const TDesC8 & aSerialNumber The serial number of the issuer.

SerialNumber()

IMPORT_C const TDesC8 & SerialNumber ( ) const

Returns the issuer's serial number.

Member Data Documentation

CX500DistinguishedName * iIssuerName

CX500DistinguishedName * iIssuerName [private]

Signer's distinguished name

HBufC8 * iSerialNumber

HBufC8 * iSerialNumber [private]

Signer's serial number