Define a new peer trust policy.
key is the public key of the remote peer in DER format, but in general should be
considered an opaque blob.
now is a Unix timestamp (number of non-leap seconds since the epoch). If your trust logic
involves time, you should use this as basis time to make calculations consistent.
Return true to allow the peer to connect (or be connected to).
requireClientAuth can be set to false for the rare case where incoming connections that
cannot present a client certificate should be allowed. In that case, take care to implement
an additional authorisation layer to restrict connections or resource access.
OptionalrequireClientAuth: boolean
Trust policy for peers.