PKCS12::CDecPkcs12KeyBag Class Reference
class PKCS12::CDecPkcs12KeyBag : public PKCS12::CDecPkcs12SafeBag |
This class decodes the KeyBag present in the SafeBag. It has a method to get the PrivatKeyInfo
Constructor & Destructor Documentation
CDecPkcs12KeyBag()
CDecPkcs12KeyBag | ( | ) | [private] |
CDecPkcs12KeyBag(const CDecPkcs12KeyBag &)
~CDecPkcs12KeyBag()
~CDecPkcs12KeyBag | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const TDesC8 &)
void | ConstructL | ( | const TDesC8 & | aSafeBagData | ) | [private] |
Decodes the entire KeyBag structure.
- leave
- KErrAgrument if the data is not a sequence or class tag name is not Universal and if iPrivateKeyInfo is NULL.
TASN1DecPKCS8
Parameters
const TDesC8 & aSafeBagData | Contains a PKCS#12 SafeBag Structure. |
NewL(const TDesC8 &)
Creates a new PKCS#12KeyBag object.
-
leave
- KErrAgrument if the data is not a sequence or class tag name is not Universal and if iPrivateKeyInfo is NULL.
Parameters
const TDesC8 & aSafeBagData | Contains a PKCS#12 SafeBag Structure. |
PrivateKeyInfoL()
The PrivateKey information present in the KeyBag. The returned ASN1 sequence respects the following grammar:
PrivateKeyInfo ::= SEQUENCE { version Version, privateKeyAlgorithm PrivateKeyAlgorithmIdentifier, privateKey PrivateKey, attributes [0] IMPLICIT Attributes OPTIONAL }
Version ::= INTEGER PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier PrivateKey ::= OCTET STRING Attributes ::= SET OF Attribute
CDecPKCS8Data
operator=(const CDecPkcs12KeyBag &)
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.