CPKCS7SignedObject Class Reference
class CPKCS7SignedObject : public CSignedObject
|
A representation of a PKCS7 (signed data) entity This class is only used for update notifications and so does not provide full functionality. In particular, there is no means for creating a new PKCS7 object (other than from binary data),there is no means to modify it and revokation lists are not supported. The optional fields in signerinfo are not supported and are ignored.
Constructor & Destructor Documentation
CPKCS7SignedObject(void)
IMPORT_C
|
CPKCS7SignedObject
|
(
|
void
|
|
)
|
[protected]
|
CPKCS7SignedObject(const CPKCS7SignedObject &)
~CPKCS7SignedObject()
IMPORT_C
|
~CPKCS7SignedObject
|
(
|
)
|
|
Member Functions Documentation
Certificates()
Provides access to the certificates
ConstructL(const CPKCS7ContentInfo &)
ContentInfo()
Provides access to the PKCS7 version number
DataElementEncoding(const TUint)
IMPORT_C const
TPtrC8
*
|
DataElementEncoding
|
(
|
const
TUint
|
aIndex
|
)
|
const [virtual]
|
Parameters
const
TUint
aIndex
|
One of the data element positions listed in the preceding enum
|
DecodeCertificatesL(const TDesC8 &)
void
|
DecodeCertificatesL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
DecodeDigestAlgorithmsL(const TDesC8 &)
void
|
DecodeDigestAlgorithmsL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
DecodeRevocationListsL(const TDesC8 &)
void
|
DecodeRevocationListsL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
DecodeSignedDataL(const TDesC8 &)
void
|
DecodeSignedDataL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
DecodeSignerInfoL(const TDesC8 &)
void
|
DecodeSignerInfoL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
DigestAlgorithms()
Provides access to the digest algorithms
InitSignedObjectL(const TDesC8 &)
void
|
InitSignedObjectL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
InternalizeL(RReadStream &)
IMPORT_C void
|
InternalizeL
|
(
|
RReadStream
&
|
aStream
|
)
|
[virtual]
|
NewL(const CPKCS7ContentInfo &)
Creates a PKCS7 object from the RFC2315 representation
NewLC(const CPKCS7ContentInfo &)
Creates a PKCS7-2 object from the RFC2315 representation
SignedDataL()
IMPORT_C const
TPtrC8
|
SignedDataL
|
(
|
)
|
const [virtual]
|
(From
CSignedObject
) Provides access to the signed data (PKCS7-2) part of the PKCS7 object
SignerInfo()
Provides access to the signer information
ValidateSignatureL(const CPKCS7SignerInfo &, const CX509Certificate &)
ValidateSignerL(const CPKCS7SignerInfo &, HBufC8 *&)
Validates the signer and creates the certificate chain for that signer
Parameters
const
CPKCS7SignerInfo
& aSignerInfo
|
The signer to be validated
|
HBufC8
*& aCertChainEncoding
|
The certificate chain. This is created and pushed onto the cleanup stack by the function.
|
Version()
IMPORT_C
TInt
|
Version
|
(
|
)
|
const
|
Provides access to the PKCS7 version number
Member Enumerations Documentation
Enum anonymous
Values for encoded data element positions in tbsCert data structure. These values are passed as the index to the
DataElementEncoding()
function Objects containing revokation lists are not supported
Enumerators
EVersionNumber = 0
|
|
EDigestAlgorithms = 1
|
|
EContentInfo = 2
|
|
ECertificates = 3
|
|
ERevocationLists = 4
|
|
ESignedInfo = 5
|
|
Member Data Documentation
RPointerArray< CPKCS7ExtendedCertificateOrCertificate > iCertificates
CPKCS7ContentInfo * iContentInfo
TFixedArray< TPtrC8 *, KPKCS7MaxDataElements > iDataElements
RPointerArray< CX509AlgorithmIdentifier > iDigestAlgorithms
RPointerArray< CPKCS7SignerInfo > iSignerInfo
TInt
iVersion
TInt
|
iVersion
|
[protected]
|
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.