PKCS12::CDecPkcs12SafeContents Class Reference
class PKCS12::CDecPkcs12SafeContents : public CBase
|
Inherits from
-
PKCS12::CDecPkcs12SafeContents
Constructor & Destructor Documentation
CDecPkcs12SafeContents()
CDecPkcs12SafeContents
|
(
|
)
|
[private]
|
CDecPkcs12SafeContents(const CDecPkcs12SafeContents &)
~CDecPkcs12SafeContents()
~CDecPkcs12SafeContents
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aSafeContent
|
)
|
[private]
|
These objects represents the SafeBag Sequences present in the SafeContents Bag Sequence.
-
leave
-
KErrArgument if the aSafeContent is not a Sequence and class tag is not Universal.
-
leave
-
KErrNotSupported if any bag otherthan keyBag, shroudedKeyBag,CertBag,CRLBag,SecretBag and SafeContentBag.
CDecPkcs12SafeBag
Parameters
const
TDesC8
& aSafeContent
|
Contains data to decode the bags.
|
DecodeEncryptedDataL(const CPKCS7ContentInfo &, const TDesC &)
This method decrypts the encrypted information.
Parameters
const
CPKCS7ContentInfo
& aContentInfo
|
Contains a PKCS#7 ContentInfo Structure.
|
const
TDesC
& aPassword
|
is the password used for decryption.
|
DecryptedData()
IMPORT_C const
TDesC8
*
|
DecryptedData
|
(
|
)
|
const
|
The method returns the plain data.
NewL(const CPKCS7ContentInfo &)
Creates a new
CDecPkcs12SafeContents
object for plain Data.
-
leave
-
KErrArgument if the data is not a sequence or class tag name is not Universal.
Parameters
const
CPKCS7ContentInfo
& aSafeContentsBagData
|
Contains a PKCS#7 ContentInfo Structure.
|
NewL(const CPKCS7ContentInfo &, const TDesC &)
Creates a new
CDecPkcs12SafeContents
object for Encrypted Data.
-
leave
-
KErrArgument if the data is not a sequence or class tag name is not Universal.
Parameters
const
CPKCS7ContentInfo
& aSafeContentsBagData
|
Contains a PKCS#7 ContentInfo Structure.
|
const
TDesC
& aPassword
|
aPassword is the password used for decryption.
|
NewL(const TDesC8 &)
Creates a new
CDecPkcs12SafeContents
object for Enveloped Data. The class doesn't support the public key privacy mode if the ContentInfo contains an EnvelopedData object.Client should decrypt the Envelope Data. A recipient opens the envelope by decrypting the one of the encrypted content-encryption keys with the recipient's private key and decrypts the encrypted content with the recovered content-encryption key and pass the plain data.
-
leave
-
KErrArgument if the data is not a sequence or class tag name is not Universal.
Parameters
const
TDesC8
& aSafeContentsBagData
|
Contains a PKCS#7 ContentInfo Structure ContentData.
|
SafeContentsBags()
The method returns array of safebags objects.
operator=(const CDecPkcs12SafeContents &)
Member Data Documentation
HBufC8 * iDecryptedData
HBufC8
*
|
iDecryptedData
|
[private]
|
RPointerArray< CDecPkcs12SafeBag > iSafeBags
Contains an array of SafeBags objects
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.