PKCS12::CDecPkcs12ShroudedKeyBag Class Reference
class PKCS12::CDecPkcs12ShroudedKeyBag : public PKCS12::CDecPkcs12SafeBag
|
This class decodes the ShroudedKeyBag present in the SafeBag. It has a method to get the PrivatKeyInfo
Inherits from
-
PKCS12::CDecPkcs12ShroudedKeyBag
Constructor & Destructor Documentation
CDecPkcs12ShroudedKeyBag()
CDecPkcs12ShroudedKeyBag
|
(
|
)
|
[private]
|
CDecPkcs12ShroudedKeyBag(const CDecPkcs12ShroudedKeyBag &)
~CDecPkcs12ShroudedKeyBag()
~CDecPkcs12ShroudedKeyBag
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aSafeBagData
|
)
|
[private]
|
This decodes the entire KeyBag structure.
-
leave
-
KErrAgrument if the data is not a sequence or class tag name is not Universal.
TASN1DecPKCS8
Parameters
const
TDesC8
& aSafeBagData
|
Contains a PKCS#12 shroudedKeyBag Structure.
|
NewL(const TDesC8 &)
Creates a new PKCS#12KeyBag object.
-
leave
-
KErrAgrument if the data is not safeBag structure.
Parameters
const
TDesC8
& aSafeBagData
|
Contains a PKCS#12 shroudedKeyBag structure.
|
PrivateKeyInfoL(TDesC &)
The PrivateKey Information present in the ShroudKeyBag. Below is the ASN.1 sequence.
ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
AlgorithmIdentifier: A type that identifies an algorithm (by object identifier) and associated parameters AlgorithmIdentifier ::= SEQUENCE { algorithm ALGORITHM.&id({SupportedAlgorithms}), parameters ALGORITHM.&Type({SupportedAlgorithms}{@ algorithm}) OPTIONAL }
operator=(const CDecPkcs12ShroudedKeyBag &)
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.