#include <x509keys.h>
class TASN1DecRSAKeyPair |
Public Member Functions | |
---|---|
IMPORT_C void | DecodeDERL(const TDesC8 &, TInt &, CRSAPublicKey *&, CRSAPrivateKey *&, TRSAPrivateKeyType) |
Class for decoding RSA key pairs from ASN.1 DER encoding.
IMPORT_C void | DecodeDERL | ( | const TDesC8 & | aDER, |
TInt & | aPos, | |||
CRSAPublicKey *& | aPublicKey, | |||
CRSAPrivateKey *& | aPrivateKey, | |||
TRSAPrivateKeyType | aKeyType = EStandardCRT | |||
) |
Decodes an RSA key pair from buffer containing ASN.1 DER-encoded private key. The encoding of a private key contains public key components as well.
Parameters | |
---|---|
aDER | DER-encoded private key. |
aPos | Position in the buffer to start decoding (updated on exit). |
aPublicKey | On return, the RSA public key object |
aPrivateKey | On return, the RSA private key object |
aKeyType | Key type, default is EStandardCRT |