Class RemoteConnector

  • All Implemented Interfaces:
    de.trustable.cmp.client.RemoteTargetHandler

    @Service
    public class RemoteConnector
    extends Object
    implements de.trustable.cmp.client.RemoteTargetHandler
    • Constructor Detail

      • RemoteConnector

        public RemoteConnector​(org.springframework.core.env.Environment environment,
                               Ca3sTrustManager ca3sTrustManager)
    • Method Detail

      • sendHttpReq

        public byte[] sendHttpReq​(String requestUrlParam,
                                  byte[] requestBytes,
                                  String contentType,
                                  String sni,
                                  boolean disableHostNameVerifier,
                                  KeyStore keyStore,
                                  String keyPassword)
                           throws IOException
        Specified by:
        sendHttpReq in interface de.trustable.cmp.client.RemoteTargetHandler
        Parameters:
        requestUrlParam -
        requestBytes -
        Returns:
        byte array
        Throws:
        IOException - public byte[] sendHttpReq(final String requestUrlParam, final byte[] requestBytes) throws IOException { return sendHttpReq( requestUrlParam, requestBytes, "application/pkixcmp", null,null, null); }