TASN1DecRSAPublicKey Class Reference

#include <x509keys.h>

class TASN1DecRSAPublicKey
Public Member Functions
IMPORT_C CRSAPublicKey *DecodeDERL(const TDesC8 &, TInt &)

Detailed Description

Class for decoding RSA public keys from ASN.1 DER encoding.

Since
v8.0

Member Function Documentation

DecodeDERL ( const TDesC8 &, TInt & )

IMPORT_C CRSAPublicKey *DecodeDERL(const TDesC8 &aDER,
TInt &aPos
)const

Decodes an RSA key from the supplied buffer starting at the specified position.

ParameterDescription
aDERBuffer containing DER ASN.1 encoding of the key.
aPosStarting position in the buffer (updated on exit).

Returns: A pointer to the new CRSAPublicKey object.