Class RemoteConnector
- java.lang.Object
-
- de.trustable.ca3s.core.service.cmp.RemoteConnector
-
- All Implemented Interfaces:
de.trustable.cmp.client.RemoteTargetHandler
@Service public class RemoteConnector extends Object implements de.trustable.cmp.client.RemoteTargetHandler
-
-
Constructor Summary
Constructors Constructor Description RemoteConnector(org.springframework.core.env.Environment environment, Ca3sTrustManager ca3sTrustManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]sendHttpReq(String requestUrlParam, byte[] requestBytes, String contentType, String sni, boolean disableHostNameVerifier, KeyStore keyStore, String keyPassword)
-
-
-
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:
sendHttpReqin interfacede.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); }
-
-