public ICipherHTTP cipherHTTP() {
SecurityConfigBuilder builder = this.securityConfigBuilder();
CipherConfigure config = builder.getCipherConfigure();
CipherHTTP cipherHTTP = new CipherHTTP();
if (config.getProvider() != null) {
cipherHTTP.setProvider(config.getProvider());
}
if (config.getTransformation() != null) {
cipherHTTP.setTransformation(config.getTransformation());
}
cipherHTTP.init();
return cipherHTTP;
}