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 TASN1DecRSAPublicKey

class TASN1DecRSAPublicKey;

Description

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

Members

Defined in TASN1DecRSAPublicKey:


Member functions


DecodeDERL(const TDesC8 &,TInt &)const

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

Description

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

Parameters

const TDesC8 &aDER

Buffer containing DER ASN.1 encoding of the key.

TInt &aPos

Starting position in the buffer (updated on exit).

Return value

CRSAPublicKey *

A pointer to the new CRSAPublicKey object.