CERT_ALT_NAME_ENTRY

This structure contains an alternative name in one of a variety of name forms. The certification authority (CA) binds these names to the certificate's public key..

A CERT_ALT_NAME_ENTRY structure can be a member of a CERT_ALT_NAME_INFO structure.

typedef struct _CERT_ALT_NAME_ENTRY {
DWORD dwAltNameChoice;
union {
    PCERT_OTHER_NAME pOtherName;
    LPWSTR pwszRfc822Name;
    LPWSTR pwszDNSName;
    //Not implemented x400Address;
    CERT_NAME_BLOB DirectoryName;
    //Not implemented pEdiPartyName;
    LPWSTR pwszURL;
    CRYPT_DATA_BLOB IPAddress;
    LPSTR pszRegisteredID;
  }; 
} CERT_ALT_NAME_ENTRY,  *PCERT_ALT_NAME_ENTRY;

Members

  • dwAltNameChoice
    Indicates the union variant used for the alternative name.

    The dwAltNameChoice values are as follows:

    CERT_ALT_NAME_OTHER_NAME

    CERT_ALT_NAME_RFC822_NAME

    CERT_ALT_NAME_DNS_NAME

    CERT_ALT_NAME_X400_ADDRESS

    CERT_ALT_NAME_DIRECTORY_NAME

    CERT_ALT_NAME_EDI_PARTY_NAME

    CERT_ALT_NAME_URL

    CERT_ALT_NAME_IP_ADDRESS

    CERT_ALT_NAME_REGISTERED_ID

  • pOtherName
    Pointer to a CERT_OTHER_NAME structure, which includes an OID and a BLOB structure containing the name.

  • pwszRfc822Name
    E-mail address as a Unicode string.

  • pwszDNSName
    DNS name as an IA5 string.

  • x400Address
    Not currently implemented.

  • DirectoryName
    A BLOB structure containing a directory name.

  • pEdiPartyName
    Not currently implemented.

  • pwszURL
    URL as a IA5 string.

  • IPAddress
    Octet string that is an Internet Protocol address defined in accordance with Internet RFC 791.

  • pszRegisteredID
    Object identifier (OID) of any registered object.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

BLOB, CERT_ALT_NAME_INFO

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.