#include <x509certext.h>
Link against: x509.lib
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.
IMPORT_C TBool | Match | ( | const CX509AltNameExt & | aExt | ) | const |
Checks whether the corressponding elements of two equally sized arrays of X.509 general names match.
Parameters | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |