code: void setAlgorithmConstraints(AlgorithmConstraints algorithmConstraints) {
          activeCipherSuites = null;
          activeProtocols = null;
  
          this.algorithmConstraints =
              new SSLAlgorithmConstraints(algorithmConstraints);
          this.localSupportedSignAlgs = null;
      }
docs: Set the algorithm constraints. Called from the constructor or
  SSLSocketImpl/SSLEngineImpl.setAlgorithmConstraints() (if the
  handshake is not yet in progress).