CCmsSignerIdentifier Class Reference
class CCmsSignerIdentifier : public CBase |
A representation of a RFC2630 (SignerIdentifier) entity.
Constructor & Destructor Documentation
CCmsSignerIdentifier()
CCmsSignerIdentifier | ( | ) | [protected] |
CCmsSignerIdentifier(CPKCS7IssuerAndSerialNumber *)
Constructor for encoding.
CCmsSignerIdentifier(HBufC8 *)
CCmsSignerIdentifier | ( | HBufC8 * | aSubjectKeyIdExt | ) | [protected] |
Parameters
HBufC8 * aSubjectKeyIdExt | the subject key identifier extension |
~CCmsSignerIdentifier()
IMPORT_C | ~CCmsSignerIdentifier | ( | ) | |
Member Functions Documentation
ConstructL(const TDesC8 &)
void | ConstructL | ( | const TDesC8 & | aRawData | ) | [protected] |
Second phase constructor for encoding
Parameters
const TDesC8 & aRawData | the raw data |
EncodeASN1DERLC()
Creates the ASN1 sequence of the signer identifier object and leaves it on the cleanup stack.
IssuerAndSerialNumber()
Returns the issuer and serial name.
NewL(CPKCS7IssuerAndSerialNumber *)
Creates a CMS SignerIdentifier as defined in RFC2630.
Parameters
CPKCS7IssuerAndSerialNumber * aIssuerAndSerialNumber | An IssuerAndSerialNumber instance used to construct this object. Ownership of aIssuerAndSerialNumber is transferred to the newly created CCmsSignerIdentifier object. If construction fails, ownership is not transferred. The caller needs to push aIssuerAndSerialNumber onto the cleanup stack before calling this method, and pop it off the cleanup stack after successful construction. |
NewL(HBufC8 *)
Creates a CMS SignerIdentifier as defined in RFC2630.
Parameters
HBufC8 * aSubjectKeyIdExt | A buffer that contains the subject key identifier. Ownership of aSubjectKeyIdExt is transferred to the newly created CCmsSignerIdentifier object. If construction fails, ownership is not transferred. The caller needs to push aSubjectKeyIdExt onto the cleanup stack before calling this method, and pop it off the cleanup stack after successful construction. |
NewL(const TDesC8 &)
Creates a CMS SignerIdentifier as defined in RFC2630.
Parameters
const TDesC8 & aRawData | A buffer that contains the encoded CMS signer identifier. |
NewLC(CPKCS7IssuerAndSerialNumber *)
Creates a CMS SignerIdentifier as defined in RFC2630, and leaves it on the cleanup stack.
Parameters
CPKCS7IssuerAndSerialNumber * aIssuerAndSerialNumber | An IssuerAndSerialNumber instance used to construct this object. Ownership of aIssuerAndSerialNumber is transferred to the newly created CCmsSignerIdentifier object. If construction fails, ownership is not transferred. The caller needs to push aIssuerAndSerialNumber onto the cleanup stack before calling this method, and pop it off the cleanup stack after successful construction. |
NewLC(HBufC8 *)
Creates a CMS SignerIdentifier as defined in RFC2630, and leaves it on the cleanup stack.
Parameters
HBufC8 * aSubjectKeyIdExt | A buffer that contains the subject key identifier. Ownership of aSubjectKeyIdExt is transferred to the newly created CCmsSignerIdentifier object. If construction fails, ownership is not transferred. The caller needs to push aSubjectKeyIdExt onto the cleanup stack before calling this method, and pop it off the cleanup stack after successful construction. |
NewLC(const TDesC8 &)
Creates a CMS SignerIdentifier as defined in RFC2630, and leaves it on the cleanup stack.
Parameters
const TDesC8 & aRawData | A buffer that contains the encoded CMS signer identifier. |
SignerIdentifierType()
IMPORT_C TInt | SignerIdentifierType | ( | ) | const |
Returns the type of the signer identifier.
SubjectKeyIdentifier()
IMPORT_C const TDesC8 & | SubjectKeyIdentifier | ( | ) | const |
Returns the subject key identifier.
Member Enumerations Documentation
Enum TSignerIdentifierType
The SignerIdentifier type.
Enumerators
EIssuerAndSerialNumber |
The SignerIdentifier type is issuerAndSerialNumber.
|
ESubjectKeyIdentifier |
The SignerIdentifier type is subjectKeyIdentifier.
|
Member Data Documentation
CPKCS7IssuerAndSerialNumber * iIssuerAndSerialNumber
The issuer and serial number
TSignerIdentifierType
iSignerIdentifierType
The type of the signer identifier.
HBufC8 * iSubjectKeyIdExt
HBufC8 * | iSubjectKeyIdExt | [private] |
The subject key identifier.
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.