Validates a certificate.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Function Verify ( _ socket As TlsSocket, _ commonName As String, _ certificateChain As CertificateChain _ ) As TlsCertificateAcceptance |
C# |
---|
TlsCertificateAcceptance Verify( TlsSocket socket, string commonName, CertificateChain certificateChain ) |
Parameters
- socket
- Type: Rebex.Net..::..TlsSocket
The socket that needs the certificate verification.
- commonName
- Type: System..::..String
Common name of the server.
- certificateChain
- Type: Rebex.Security.Certificates..::..CertificateChain
Certificate chain to be validated.