Dela via


X509Credentials Class

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

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

Namespace:   System.Fabric
Assembly:  System.Fabric (in System.Fabric.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.SecurityCredentials
    System.Fabric.X509Credentials

Syntax

public sealed class X509Credentials : SecurityCredentials

Constructors

Name Description
System_CAPS_pubmethod X509Credentials()

Creates a new instance of the X509Credentials class.

Properties

Name Description
System_CAPS_pubproperty AllowedCommonNames

Obsolete. Deprecated by RemoteCommonNames.

System_CAPS_pubproperty CredentialType

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

System_CAPS_pubproperty 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.

System_CAPS_pubproperty FindValue

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

System_CAPS_pubproperty FindValueSecondary

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

System_CAPS_pubproperty IssuerThumbprints

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

System_CAPS_pubproperty 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.

System_CAPS_pubproperty RemoteCertThumbprints

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

System_CAPS_pubproperty RemoteCommonNames

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

System_CAPS_pubproperty RemoteX509Names

Gets the list of X509Name to validate remote X509Credentials

System_CAPS_pubproperty StoreLocation

Indicates the location of the certificate store.

System_CAPS_pubproperty StoreName

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric Namespace

Return to top