class CCMSX509Certificate : public CCMSX509Signed |
X.509 CertificateInfo type module
ASN.1 definition: -- basic certificate definition Certificate ::= SIGNED {SEQUENCE {version [0] Version DEFAULT v1, serialNumber CertificateSerialNumber, signature AlgorithmIdentifier, issuer Name, validity Validity, subject Name, subjectPublicKeyInfo SubjectPublicKeyInfo, issuerUniqueIdentifier [1] IMPLICIT UniqueIdentifier OPTIONAL, -- if present, version must be v2 or v3 subjectUniqueIdentifier [2] IMPLICIT UniqueIdentifier OPTIONAL, -- if present, version must be v2 or v3 extensions [3] Extensions OPTIONAL }} -- If present, version must be v3
Protected Member Functions | |
---|---|
CCMSX509Certificate () | |
IMPORT_C void | ConstructL (const TDesC8 &, const CCMSX509AlgorithmIdentifier &, const CX500DistinguishedName &, const CCMSX509Validity &, const CX500DistinguishedName &, const CCMSX509SubjectPublicKeyInfo &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &) |
IMPORT_C void | ConstructL () |
IMPORT_C void | ConstructL (const CX509Certificate &) |
Private Member Functions | |
---|---|
NONSHARABLE_CLASS (CCertificateData) | |
void | SetDataL (const CX509Certificate &) |
Private Attributes | |
---|---|
CCertificateData * | iData |
MCMSX509CertificateExtension * | iReserved |
Inherited Attributes | |
---|---|
CCMSX509Signed::iAlgorithmIdentifier | |
CCMSX509Signed::iEncrypted |
IMPORT_C void | ConstructL | ( | const TDesC8 & | aSerialNumber, |
const CCMSX509AlgorithmIdentifier & | aSignature, | |||
const CX500DistinguishedName & | aIssuer, | |||
const CCMSX509Validity & | aValidity, | |||
const CX500DistinguishedName & | aSubject, | |||
const CCMSX509SubjectPublicKeyInfo & | aSubjectPublicKeyInfo, | |||
const CCMSX509AlgorithmIdentifier & | aAlgorithmIdentifier, | |||
const TDesC8 & | aEncrypted | |||
) | [protected] |
Protected construction to allow derivation
const TDesC8 & aSerialNumber | |
const CCMSX509AlgorithmIdentifier & aSignature | |
const CX500DistinguishedName & aIssuer | |
const CCMSX509Validity & aValidity | |
const CX500DistinguishedName & aSubject | |
const CCMSX509SubjectPublicKeyInfo & aSubjectPublicKeyInfo | |
const CCMSX509AlgorithmIdentifier & aAlgorithmIdentifier | |
const TDesC8 & aEncrypted |
IMPORT_C void | ConstructL | ( | const CX509Certificate & | aCertificate | ) | [protected] |
Protected construction to allow derivation.
const CX509Certificate & aCertificate |
void | DecodeL | ( | const TDesC8 & | aRawData | ) |
const TDesC8 & aRawData | raw-data to be parsed in this instance |
IMPORT_C const TDesC8 * | IssuerUniqueIdentifier | ( | ) | const |
NONSHARABLE_CLASS | ( | CCertificateData | ) | [private, inline] |
Container for certificate data
CCertificateData |
IMPORT_C CCMSX509Certificate * | NewL | ( | const CX509Certificate & | aCertificate | ) | [static] |
Two-phased constructor. Copies the data from the CX509Certificate parameter.
const CX509Certificate & aCertificate | Certificate from which the data is copied. |
IMPORT_C CCMSX509Certificate * | NewL | ( | const TDesC8 & | aSerialNumber, |
const CCMSX509AlgorithmIdentifier & | aSignature, | |||
const CX500DistinguishedName & | aIssuer, | |||
const CCMSX509Validity & | aValidity, | |||
const CX500DistinguishedName & | aSubject, | |||
const CCMSX509SubjectPublicKeyInfo & | aSubjectPublicKeyInfo, | |||
const CCMSX509AlgorithmIdentifier & | aAlgorithmIdentifier, | |||
const TDesC8 & | aEncrypted | |||
) | [static] |
Two-phased constructor. Copies of the parameters are made.
const TDesC8 & aSerialNumber | CertificateSerialNumber value |
const CCMSX509AlgorithmIdentifier & aSignature | AlgorithmIdentifier value |
const CX500DistinguishedName & aIssuer | Name value |
const CCMSX509Validity & aValidity | Validity value |
const CX500DistinguishedName & aSubject | Name value |
const CCMSX509SubjectPublicKeyInfo & aSubjectPublicKeyInfo | SubjectPublicKeyInfo value |
const CCMSX509AlgorithmIdentifier & aAlgorithmIdentifier | identifies the algorithm used in the signature |
const TDesC8 & aEncrypted | must be the result of applying a hashing procedure to the DER-encoded octets of a value of toBeSigned and then applying an encipherment procedure to those octets |
IMPORT_C const TDesC8 & | SerialNumber | ( | ) | const |
void | SetDataL | ( | const CX509Certificate & | aCertificate | ) | [private] |
Copies the data from the CX509Certificate object.
const CX509Certificate & aCertificate |
IMPORT_C void | SetIssuerL | ( | const CX500DistinguishedName & | aIssuer | ) |
const CX500DistinguishedName & aIssuer | The X.500 DistinguishedName of the issuer of the certificate |
IMPORT_C void | SetIssuerUniqueIdentifierL | ( | const TDesC8 & | aIssuerUniqueIdentifier | ) |
const TDesC8 & aIssuerUniqueIdentifier | UniqueIdentifier (BIT STRING) |
IMPORT_C void | SetSerialNumberL | ( | const TDesC8 & | aSerialNumber | ) |
const TDesC8 & aSerialNumber | CertificateSerialNumber |
IMPORT_C void | SetSignatureL | ( | const CCMSX509AlgorithmIdentifier & | aSignature | ) |
const CCMSX509AlgorithmIdentifier & aSignature | AlgorithmIdentifier |
IMPORT_C void | SetSubjectL | ( | const CX500DistinguishedName & | aSubject | ) |
const CX500DistinguishedName & aSubject | X.500 DistinguishedName of the subject of the certificate |
IMPORT_C void | SetSubjectPublicKeyInfoL | ( | const CCMSX509SubjectPublicKeyInfo & | aSubjectPublicKeyInfo | ) |
const CCMSX509SubjectPublicKeyInfo & aSubjectPublicKeyInfo | SubjectPublicKeyInfo |
IMPORT_C void | SetSubjectUniqueIdentifierL | ( | const TDesC8 & | aSubjectUniqueIdentifier | ) |
const TDesC8 & aSubjectUniqueIdentifier | UniqueIdentifier (BIT STRING) |
IMPORT_C void | SetValidityL | ( | const CCMSX509Validity & | aValidity | ) |
const CCMSX509Validity & aValidity | Validity |
IMPORT_C void | SetVersion | ( | const TInt | aVersion | ) |
const TInt aVersion | Version |
IMPORT_C const CCMSX509AlgorithmIdentifier & | Signature | ( | ) | const |
IMPORT_C const CX500DistinguishedName & | Subject | ( | ) | const |
IMPORT_C const CCMSX509SubjectPublicKeyInfo & | SubjectPublicKeyInfo | ( | ) | const |
IMPORT_C const TDesC8 * | SubjectUniqueIdentifier | ( | ) | const |
IMPORT_C CASN1EncBase * | ToBeSignedEncoderLC | ( | ) | const |
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.