SslServerAuthenticationOptions.CertificateChainPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an optional customized policy for remote certificate validation.
public:
property System::Security::Cryptography::X509Certificates::X509ChainPolicy ^ CertificateChainPolicy { System::Security::Cryptography::X509Certificates::X509ChainPolicy ^ get(); void set(System::Security::Cryptography::X509Certificates::X509ChainPolicy ^ value); };
public System.Security.Cryptography.X509Certificates.X509ChainPolicy? CertificateChainPolicy { get; set; }
member this.CertificateChainPolicy : System.Security.Cryptography.X509Certificates.X509ChainPolicy with get, set
Public Property CertificateChainPolicy As X509ChainPolicy
Property Value
Remarks
When the value of this property is not null
:
- The value of the CertificateRevocationCheckMode property is ignored.
- If an SslCertificateTrust was provided to the value in the ServerCertificateContext property, the trust list
SslCertificateTrust
will be sent in the handshake (when so configured), but the trust settings from this property aren't used when verifying any client authentication certificates.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.