PKCS12::CDecPkcs12CertBag Class Reference
class PKCS12::CDecPkcs12CertBag : public PKCS12::CDecPkcs12SafeBag
|
This class decodes the CertBag It has methods to get the CertId and the CertValue present in the CertBag The X509Certificate() method returns the x509 certificate in case the CertId is x509
Inherits from
-
PKCS12::CDecPkcs12CertBag
Constructor & Destructor Documentation
CDecPkcs12CertBag()
CDecPkcs12CertBag
|
(
|
)
|
[private]
|
CDecPkcs12CertBag(const CDecPkcs12CertBag &)
~CDecPkcs12CertBag()
~CDecPkcs12CertBag
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CertId()
IMPORT_C const
TDesC
&
|
CertId
|
(
|
)
|
const
|
This method returns the OID present in the certId field of CertBag sequence.
CertValue()
IMPORT_C const
TDesC8
&
|
CertValue
|
(
|
)
|
const
|
This method returns the DER encoded certValue present in the CertBag sequence. X509Certificate
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aCertBagData
|
)
|
[private]
|
This decodes the entire CertBag structure.
-
leave
-
KErrArgument if the data is not a sequence or class tag name is not Universal.
CDecPkcs12SafeBag
,
CX509Certificate
.
Parameters
const
TDesC8
& aCertBagData
|
contains a PKCS#12 CertBag Structure.
|
NewL(const TDesC8 &)
Creates a new PKCS#12CertBag object.
-
leave
-
KErrArgument if the data is not a sequence or class tag name is not Universal.
-
leave
-
KErrNotSupported if otherthan X509 certificate is present.
Parameters
const
TDesC8
& aCertBagData
|
contains a PKCS#12 CertBag Structure.
|
X509CertificateL()
This method returns the decoded x509 certificate.
CertValue
operator=(const CDecPkcs12CertBag &)
Member Data Documentation
HBufC * iCertId
HBufC
*
|
iCertId
|
[private]
|
Contains Object identifier indicating the certificate type
TPtrC8
iCertValue
Contains the certificate which is encoded and is an OCTET String
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.