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.

Parameters
aDERBuffer containing DER ASN.1 encoding of the key.
aPosStarting position in the buffer (updated on exit).
Return Value
A pointer to the new CRSAPublicKey object.