code: @UnstableApi
      public void setOcspResponse(byte[] response) {
          if (!enableOcsp) {
              throw new IllegalStateException("OCSP stapling is not enabled");
          }
  
          if (clientMode) {
              throw new IllegalStateException("Not a server SSLEngine");
          }
  
          synchronized (this) {
              SSL.setOcspResponse(ssl, response);
          }
      }
docs: Sets the OCSP response.