| class TASN1DecRSAKeyPair |
Class for decoding RSA key pairs from ASN.1 DER encoding.
| Public Member Functions | |
|---|---|
| IMPORT_C void | DecodeDERL (const TDesC8 &, TInt &, CRSAPublicKey *&, CRSAPrivateKey *&, TRSAPrivateKeyType ) |
| 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.
| const TDesC8 & aDER | DER-encoded private key. |
| TInt & aPos | Position in the buffer to start decoding (updated on exit). |
| CRSAPublicKey *& aPublicKey | On return, the RSA public key object |
| CRSAPrivateKey *& aPrivateKey | On return, the RSA private key object |
| TRSAPrivateKeyType aKeyType = EStandardCRT | Key type, default is EStandardCRT |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.