#include <x509certext.h>
class CX509AltNameExt : public CX509ExtensionBase |
Public Member Functions | |
---|---|
virtual | ~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 &) |
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.
~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.
Returns: The array of general names.
IMPORT_C TBool | Match | ( | const CX509AltNameExt & | aExt | ) | const |
Checks whether the corressponding elements of two equally sized arrays of X.509 general names match.
Parameter | Description |
---|---|
aExt | An X.509 certificate extension object that defines an alternate name. |
Returns: TRUE if all the elements in the arrays match.
IMPORT_C CX509AltNameExt * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509AltNameExt object from the specified buffer containing the binary coded representation.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new CX509AltNameExt object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: The new CX509AltNameExt object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new CX509AltNameExt object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: The new CX509AltNameExt object.