TlsContext.setMaxVersion

void setMaxVersion(TlsVersion ver)

Sets the maximum TLS protocol version.

Parameters

verThe maximum version to accept.