PKCS12::CDecPkcs12 Class Reference
class PKCS12::CDecPkcs12 : public CBase |
Contains methods to decode and return the PFX structure. The structure contains the Version, MacData and AuthSafe. MacData is OPTIONAL.
Constructor & Destructor Documentation
CDecPkcs12(RPointerArray< CPKCS7ContentInfo >)
CDecPkcs12(const CDecPkcs12 &)
Member Functions Documentation
AuthenticatedSafe()
Returns the authenticated safe. This authenticated safe is used to find the integrity mode used and to verify the integrity of the packet.
AuthenticatedSafeContents()
These objects represents the ContentInfo Sequences present in the AuthenticatedSafe Sequence.
CPKCS7ContentInfo
ConstructL(const TDesC8 &)
void | ConstructL | ( | const TDesC8 & | aRawData | ) | [private] |
This decodes the entire PFX structure
Main PKCS12 Structure. PFX ::= SEQUENCE { version INTEGER {v3(3)}(v3,...), authSafe ContentInfo, macData MacData OPTIONAL }
Parameters
const TDesC8 & aRawData | Contains a PKCS#12 PFX Structure. |
IntegrityMode()
Identifies the type of integrity mode used. In the case of Password Integrity mode, OID is 1.2.840.113549.1.7.1. In the case of Public Key Integrity mode, OID is 1.2.840.113549.1.7.2.
InternalizeL(RReadStream &)
This method is used to internalise that object and takes a reference to an
RReadStream as the interface to the read stream.
- leave
- KErrArgument if the aStream is not Pkcs12 PFX Structure.
MacData()
The MacData, which contains:
NewL(const TDesC8 &)
Creates a new PKCS#12 object.
-
leave
- KErrArgument if the aRawData is not Pkcs12 PFX Structure.
Parameters
const TDesC8 & aRawData | Contains a PKCS#12 PFX structure |
NewL(RReadStream &)
Creates a new PKCS#12 object.
-
leave
- KErrArgument if the aRawData is not Pkcs12 PFX Structure.
NewLC(const TDesC8 &)
Creates a new PKCS#12 object.
-
leave
- KErrArgument if the aRawData is not Pkcs12 PFX Structure.
Parameters
const TDesC8 & aRawData | Contains a PKCS#12 PFX structure |
NewLC(RReadStream &)
Creates a new PKCS#12 object.
-
leave
- KErrArgument if the aRawData is not Pkcs12 PFX Structure.
Version()
IMPORT_C TInt | Version | ( | ) | const |
Returns the Version number contained in the PKCS12 PFX Structure.
operator=(const CDecPkcs12 &)
Member Enumerations Documentation
Enum TIntegrityMode
Identifies the type of Integrity Mode used in the PKCS12 PFX Structure
Enumerators
EPasswordIntegrityMode = 1 |
Password Integrity Mode used in the PKCS12 PFX Structure
|
EPublicKeyIntegrityMode |
Public Key Integrity Mode used in the PKCS12 PFX Structure
|
Member Data Documentation
CPKCS7ContentInfo * iAuthenticatedSafeData
This contains the entire AuthenticatedSafe Data present in the PKCS12 PFX Structure
RPointerArray< CPKCS7ContentInfo > iContentInfos
This Contains an Array of ContentInfos present within the AuthenticatedSafe of PKCS12 PFX Structure
CDecPkcs12MacData * iMacData
Contains the macData structure present in the PKCS12 PFX Structure
TIntegrityMode
iMode
Integrity Mode used in PKCS12 PFX Structure
TInt
iVersion
PKCS12 PFX Structure Version number
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.