CX509RSAPublicKey Class Reference

#include <x509keys.h>

class CX509RSAPublicKey : public CRSAPublicKey

Inherits from

Detailed Description

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

Member Function Documentation

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
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509RSAPublicKey object.

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
A pointer to the new CX509RSAPublicKey object.

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
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509RSAPublicKey object.

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
A pointer to the new CX509RSAPublicKey object.