共用方式為


X509Credentials Class

Definition

Specifies the security credentials that are based upon X.509 certificates.

public sealed class X509Credentials : System.Fabric.SecurityCredentials
type X509Credentials = class
    inherit SecurityCredentials
Public NotInheritable Class X509Credentials
Inherits SecurityCredentials
Inheritance
X509Credentials

Constructors

X509Credentials()

Creates a new instance of the X509Credentials class.

Properties

AllowedCommonNames
Obsolete.

Deprecated by RemoteCommonNames.

CredentialType

Indicates the type of security credentials to use in order to secure the cluster – valid values are "none", "x509", "Windows".

(Inherited from SecurityCredentials)
FindType

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.

FindValue

Specifies the filter value used to search local certificate in certificate store. FindType specifies the type of filter value.

FindValueSecondary

Gets or sets the secondary find value for loading local certificate credential.

IssuerThumbprints

When not empty, this dictates the certificate thumbprints of direct issuer of remote certificates.

ProtectionLevel

Indicates the string value that is used to specify whether the messages in the header and body have integrity and confidentiality guarantees applied to them when they are sent between the nodes of a cluster.

RemoteCertIssuers

Gets the list of X509Issuers to validate remote X509Credentials

RemoteCertThumbprints

Gets the list of remote certificate thumbprints, used to validate remote X509Credentials

RemoteCommonNames

Indicates the expected common names of remote certificates that you want Service Fabric to validate against.

RemoteX509Names

Gets the list of X509Name to validate remote X509Credentials

StoreLocation

Indicates the location of the certificate store.

StoreName

Indicates the name of the store where the certificate is stored.

StoreNameDefault

Indicates the default name of the store where the certificate is stored.

Applies to