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 TASN1EncRSAPublicKey

class TASN1EncRSAPublicKey;

Description

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

Members

Defined in TASN1EncRSAPublicKey:
EncodeDERL()


Member functions


EncodeDERL()

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 .