| class CX509AltNameExt : public CX509ExtensionBase |
An X.509 certificate extension that defines an alternate name.
It appears as an Issuer Alt Name extension or a Subject Alt Name extension and is used to contain extra identifying information that will not fit into a Distinguished Name.
It consists of an array of X.509 General Names.
| Public Member Functions | |
|---|---|
| ~CX509AltNameExt () | |
| IMPORT_C const CArrayPtrFlat < CX509GeneralName > & | AltName () |
| IMPORT_C TBool | Match (const CX509AltNameExt &) |
| IMPORT_C CX509AltNameExt * | NewL (const TDesC8 &) |
| IMPORT_C CX509AltNameExt * | NewL (const TDesC8 &, TInt &) |
| IMPORT_C CX509AltNameExt * | NewLC (const TDesC8 &) |
| IMPORT_C CX509AltNameExt * | NewLC (const TDesC8 &, TInt &) |
| Private Member Functions | |
|---|---|
| CX509AltNameExt () | |
| void | DoConstructL (const TDesC8 &, TInt &) |
| Private Attributes | |
|---|---|
| CArrayPtrFlat < CX509GeneralName > * | iAuthorityName |
| ~CX509AltNameExt | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
| IMPORT_C const CArrayPtrFlat < CX509GeneralName > & | AltName | ( | ) | const |
Gets a reference to the array of general names that forms the alternate name extension.
| void | DoConstructL | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [private, virtual] | |||
| IMPORT_C TBool | Match | ( | const CX509AltNameExt & | aExt | ) | const |
Checks whether the corressponding elements of two equally sized arrays of X.509 general names match.
| const CX509AltNameExt & aExt | An X.509 certificate extension object that defines an alternate name. |
| IMPORT_C CX509AltNameExt * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509AltNameExt object from the specified buffer containing the binary coded representation.
| const TDesC8 & aBinaryData | The encoded binary representation. |
| IMPORT_C CX509AltNameExt * | NewL | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [static] | |||
Creates a new CX509AltNameExt object from the specified buffer containing the binary coded representation, starting at the specified offset.
| IMPORT_C CX509AltNameExt * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509AltNameExt object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
| const TDesC8 & aBinaryData | The encoded binary representation. |
| IMPORT_C CX509AltNameExt * | NewLC | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [static] | |||
Creates a new CX509AltNameExt object from the specified buffer containing the binary coded representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.
| CArrayPtrFlat < CX509GeneralName > * | iAuthorityName | [private] |
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.