public XkmsCryptoProvider(XKMSPortType xkmsConsumer, Crypto fallbackCrypto,
XKMSClientCache xkmsClientCache, boolean allowX509FromJKS) {
if (xkmsConsumer == null) {
throw new IllegalArgumentException("xkmsConsumer may not be null");
}
this.xkmsInvoker = new XKMSInvoker(xkmsConsumer);
this.fallbackCrypto = fallbackCrypto;
this.xkmsClientCache = xkmsClientCache;
this.allowX509FromJKS = allowX509FromJKS;
}