Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509keys.h
Link against: x509.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CX509RSAPublicKey

class CX509RSAPublicKey : public CRSAPublicKey;

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.

Derivation

Members

Defined in CX509RSAPublicKey:
NewL(), NewL(), NewLC(), NewLC()


Construction and destruction


NewL()

static IMPORT_C CX509RSAPublicKey *NewL(const TDesC8 &aBinaryData);

Description

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.

Return value

CX509RSAPublicKey *

A pointer to the new CX509RSAPublicKey object.


NewLC()

static IMPORT_C CX509RSAPublicKey *NewLC(const TDesC8 &aBinaryData);

Description

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.

Return value

CX509RSAPublicKey *

A pointer to the new CX509RSAPublicKey object.


NewL()

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

Description

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.

Return value

CX509RSAPublicKey *

A pointer to the new CX509RSAPublicKey object.


NewLC()

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

Description

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.

Return value

CX509RSAPublicKey *

A pointer to the new CX509RSAPublicKey object.