次の方法で共有


2.2.57 FW_CERT_CRITERIA_NAME_TYPE

This enumeration defines the type of name to match in the certificate for a given criterion.

 typedef  enum 
 {
   FW_CERT_CRITERIA_NAME_NONE,
   FW_CERT_CRITERIA_NAME_DNS,
   FW_CERT_CRITERIA_NAME_UPN,
   FW_CERT_CRITERIA_NAME_RFC822,
   FW_CERT_CRITERIA_NAME_CN,
   FW_CERT_CRITERIA_NAME_OU,
   FW_CERT_CRITERIA_NAME_O,
   FW_CERT_CRITERIA_NAME_DC,
   FW_CERT_CRITERIA_NAME_MAX
 } FW_CERT_CRITERIA_NAME_TYPE;

FW_CERT_CRITERIA_NAME_NONE:  Do not perform any name matching.

FW_CERT_CRITERIA_NAME_DNS:  Match the DNS name in the Subject Alternative Name of the certificate.

FW_CERT_CRITERIA_NAME_UPN:  Match the UPN name in the Subject Alternative Name of the certificate.

FW_CERT_CRITERIA_NAME_RFC822:  Match the RFC822 name in the Subject Alternative Name of the certificate.

FW_CERT_CRITERIA_NAME_CN:  Match the CN relative distinguished names (RDNs) in the Subject DN of the certificate.

FW_CERT_CRITERIA_NAME_OU:  Match the OU RDNs in the Subject DN of the certificate.

FW_CERT_CRITERIA_NAME_O:  Match the O RDNs in the Subject DN of the certificate.

FW_CERT_CRITERIA_NAME_DC:  Match the DC RDNs in the Subject DN of the certificate.

FW_CERT_CRITERIA_NAME_MAX:  To be valid, a value of this type MUST be less than this constant.