TASN1EncRSAPublicKey Class Reference

#include <x509keys.h>

class TASN1EncRSAPublicKey
Public Member Functions
IMPORT_C HBufC8 *EncodeDERL(const CRSAPublicKey &)

Detailed Description

Class for encoding RSA public keys to ASN.1 encoding.

Since
v8.0

Member Function Documentation

EncodeDERL ( const CRSAPublicKey & )

IMPORT_C HBufC8 *EncodeDERL(const CRSAPublicKey &aKey)const
Encodes the supplied public key into buffer in DER format ASN.1:
 		SEQUENCE-OF
 			INTEGER modulus
 			INTEGER exponent

Parameters
aKeyKey to encode.
Return Value
Allocated buffer containing DER encoding of the supplied key aKey.