X509ServiceCertificateAuthentication Classe
Definição
Representa as configurações usadas pelo proxy do cliente para autenticar certificados de serviço obtidos usando negociação SSL/TLS.Represents the settings used by the client proxy to authenticate service certificates that are obtained using SSL/TLS negotiation.
public ref class X509ServiceCertificateAuthentication sealed
public ref class X509ServiceCertificateAuthentication
public sealed class X509ServiceCertificateAuthentication
public class X509ServiceCertificateAuthentication
type X509ServiceCertificateAuthentication = class
Public NotInheritable Class X509ServiceCertificateAuthentication
Public Class X509ServiceCertificateAuthentication
- Herança
-
X509ServiceCertificateAuthentication
Exemplos
O exemplo a seguir mostra como usar essa classe.The following example shows how to use this class.
ClientCredentials clientCreds =
new ClientCredentials();
Console.WriteLine(
clientCreds.ServiceCertificate.Authentication);
Dim clientCreds As New ClientCredentials()
Console.WriteLine(clientCreds.ServiceCertificate.Authentication)
Construtores
| X509ServiceCertificateAuthentication() |
Inicializa uma nova instância da classe X509ServiceCertificateAuthentication.Initializes a new instance of the X509ServiceCertificateAuthentication class. |
Propriedades
| CertificateValidationMode |
Obtém ou define o modo de validação de certificado.Gets or sets the certificate validation mode. |
| CustomCertificateValidator |
Obtém ou define um validador de certificado do cliente personalizado.Gets or sets a custom client certificate validator. |
| RevocationMode |
Obtém ou define o modo de revogação de certificado para ChainTrust e o modo de validação de certificado X.509 para PeerOrChainTrust.Gets or sets the certificate revocation mode for ChainTrust and PeerOrChainTrust X.509 certificate validation mode. |
| TrustedStoreLocation |
Obtém ou define o local do repositório confiável em cujo contexto a cadeia de certificados do cliente é validada.Gets or sets the trusted store location under which context the client certificate chain is validated. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |