CX509RSAPublicKey Class Reference

class CX509RSAPublicKey : public CRSAPublicKey

Adds the capability to decode DER-encoded RSA public keys.

Adds a commitment to a specific encoding scheme allowing X.509 RSA public key superclasses to remain encoding-independent.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509RSAPublicKey()

CX509RSAPublicKey ( ) [private]

Member Functions Documentation

ConstructL(const TDesC8 &, TInt &)

void ConstructL ( const TDesC8 & aBinaryData,
TInt & aPos
) [private]

Parameters

const TDesC8 & aBinaryData
TInt & aPos

NewL(const TDesC8 &)

IMPORT_C CX509RSAPublicKey * NewL ( const TDesC8 & aBinaryData ) [static]

Creates a new RSA Public key object from the specified buffer containing the encoded binary representation.

Initialises the object from its encoded binary form into an internal representation.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewL(const TDesC8 &, TInt &)

IMPORT_C CX509RSAPublicKey * NewL ( const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new RSA Public key object from the specified buffer containing the encoded binary representation, starting at the specified offset.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The offset position from which to start decoding.

NewLC(const TDesC8 &)

IMPORT_C CX509RSAPublicKey * NewLC ( const TDesC8 & aBinaryData ) [static]

Creates a new RSA Public Key object from the specified buffer containing the encoded binary representation, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewLC(const TDesC8 &, TInt &)

IMPORT_C CX509RSAPublicKey * NewLC ( const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new RSA Public key object from the specified buffer containing the encoded binary representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The offset position from which to start decoding.