Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <x509keys.h>
Link against: x509.lib
This item is not part of the S60 5th Edition SDK

Class TASN1EncRSAPublicKey

class TASN1EncRSAPublicKey;

Description

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

Members

Defined in TASN1EncRSAPublicKey:


Member functions


EncodeDERL(const CRSAPublicKey &)const

IMPORT_C HBufC8* EncodeDERL(const CRSAPublicKey &aKey) const;

Description

Encodes the supplied public key into buffer in DER format ASN.1:

       SEQUENCE-OF
           INTEGER modulus
           INTEGER exponent

Parameters

const CRSAPublicKey &aKey

Key to encode.

Return value

HBufC8 *

Allocated buffer containing DER encoding of the supplied key aKey.