vibe.d beta banner
get vibe.d
0.7.30

Enum member TLSPeerValidationMode.checkPeer

Validate the actual peer name/address against the certificate.

enum TLSPeerValidationMode
{
  // ...
  checkPeer = 4,
  // ...
}

Compares the name/address of the connected peer, as passed to createTLSStream to the list of patterns present in the certificate, if any. If no match is found, the connection is rejected.

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.