vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

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.


Sönke Ludwig


© 2012-2014 RejectedSoftware e.K.


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