ICertificateVerifier.Verify Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
Verify(TlsSocket, String, CertificateChain)
Validates a certificate.
Declaration
TlsCertificateAcceptance Verify(TlsSocket socket, string commonName, CertificateChain certificateChain)
Parameters
Type | Name | Description |
---|---|---|
TlsSocket | socket | The socket that needs the certificate verification. |
String | commonName | Common name of the server. |
CertificateChain | certificateChain | Certificate chain to be validated. |
Returns
Type | Description |
---|---|
TlsCertificateAcceptance | True to accept the chain, False to reject. |