WS_SUBJECT_NAME_CERT_CREDENTIAL structure (webservices.h)
The type for specifying a certificate credential using the certificate's subject name, store location and store name. The specified credential is loaded when the containing channel or listener is opened.
Syntax
typedef struct _WS_SUBJECT_NAME_CERT_CREDENTIAL {
WS_CERT_CREDENTIAL credential;
ULONG storeLocation;
WS_STRING storeName;
WS_STRING subjectName;
} WS_SUBJECT_NAME_CERT_CREDENTIAL;
Members
credential
The base type from which this type and all other certificate credential types derive.
storeLocation
The certificate store location (such as CERT_SYSTEM_STORE_CURRENT_USER or CERT_SYSTEM_STORE_LOCAL_MACHINE) that contains the specified certificate.
storeName
The certificate store name (such as "My") that contains the specified certificate.
subjectName
The subject name (such as "CN=service.com") of the specified certificate. The supplied subject name string must be in a format acceptable to CERT_FIND_SUBJECT_NAME-based search. (See CertFindCertificateInStore.)
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | webservices.h |