The X.509 subject alternative name extension is used to specify additional identities to be bound to the subject of the certificate (that is, other names that identify the object). See Section 4.3, General Name Type Extensions. The subject alternative name extension uses a specific extension structure (NPKI_ExtAltNames or NPKI_AltName) described below:
typedef struct NPKI_ExtAltNames
{
nuint32 flags;
nuint16 numberOfNames;
NPKI_AltNames *altName; // Array of structures
}NPKI_ExtAltNames;
NOTE:There are no subject alternative name extension specific flags defined in this release.
typedef struct NPKI_AltName
{
nuint16 type;
nuint16 length;
nuint8 *value; }NPKI_AltName;