TASN1DecRSAKeyPair Class Reference
Detailed Description
Class for decoding RSA key pairs from ASN.1 DER encoding.
Member Function Documentation
DecodeDERL ( const TDesC8 &, TInt &, CRSAPublicKey *&, CRSAPrivateKey *&, TRSAPrivateKeyType )
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.
| Parameter | Description | | 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 |