#include <decpkcs8data.h>
Link against: asnpkcs.lib
| class TASN1DecPKCS8 |
| Public Member Functions | |
|---|---|
| IMPORT_C CDecPKCS8Data * | DecodeDERL(const TDesC8 &) |
| IMPORT_C CDecPKCS8Data * | DecodeEncryptedDERL(const TDesC8 &, const TDesC8 &) |
| IMPORT_C TBool | IsEncryptedPKCS8Data(const TDesC8 &) |
| IMPORT_C TBool | IsPKCS8Data(const TDesC8 &) |
Provides the means to decode PKCS#8 encoded private keys.
| IMPORT_C CDecPKCS8Data * | DecodeDERL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Decodes DER encoded ASN1 data representing a PKCS#8 clear text private key. See the PKCS#8 specifications for the ASN1 syntax.
| Parameters | |
|---|---|
| aBinaryData | A descriptor containing the ASN1 data. |
| IMPORT_C CDecPKCS8Data * | DecodeEncryptedDERL | ( | const TDesC8 & | aBinaryData, |
| const TDesC8 & | aPassword | |||
| ) | [static] | |||
Decodes DER encoded ASN1 data representing a PKCS#8 encrypted private key. See the PKCS#8 specifications for the ASN1 syntax.
| Parameters | |
|---|---|
| aBinaryData | A descriptor containing the ASN1 data. |
| aPassword | The password to decrypt the key. |