共用方式為


X509Credentials.FindType Property

Definition

Specifies how to find local certificate in certificate store.Supported values:FindByThumbprint: find certificate by certificate thumbprintFindBySubjectName: find certificate by subject distinguished name or common name, when subject distinguished name is provided in FindValue, subject name in the certificate must be encoded in ASN encoding due to a restriction in native Windows crypto API. There is no such restriction when common name is provided in FindValue.

public System.Security.Cryptography.X509Certificates.X509FindType FindType { get; set; }
member this.FindType : System.Security.Cryptography.X509Certificates.X509FindType with get, set
Public Property FindType As X509FindType

Property Value

The type of security credentials to use to secure the cluster.

Applies to