public class XKMSInvoker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XKMSInvoker.CertificateValidationResult |
Constructor and Description |
---|
XKMSInvoker(XKMSPortType xkmsConsumer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkCertificateValidity(X509Certificate cert,
boolean directTrust) |
X509Certificate |
getCertificate(List<X509AppId> ids) |
X509Certificate |
getCertificateForEndpoint(String endpoint) |
X509Certificate |
getCertificateForId(Applications application,
String id) |
X509Certificate |
getCertificateForIssuerSerial(String issuerDN,
BigInteger serial) |
X509Certificate |
getServiceCertificate(QName serviceName) |
protected X509Certificate |
parseLocateXKMSResponse(LocateResultType locateResultType,
List<X509AppId> ids) |
protected XKMSInvoker.CertificateValidationResult |
parseValidateXKMSResponse(ValidateResultType validateResultType,
String id) |
protected LocateRequestType |
prepareLocateXKMSRequest(List<X509AppId> ids) |
protected ValidateRequestType |
prepareValidateXKMSRequest(X509Certificate cert) |
boolean |
validateCertificate(X509Certificate cert) |
boolean |
validateDirectTrustCertificate(X509Certificate cert) |
public XKMSInvoker(XKMSPortType xkmsConsumer)
public X509Certificate getServiceCertificate(QName serviceName)
public X509Certificate getCertificateForId(Applications application, String id)
public X509Certificate getCertificateForIssuerSerial(String issuerDN, BigInteger serial)
public X509Certificate getCertificateForEndpoint(String endpoint)
public X509Certificate getCertificate(List<X509AppId> ids)
public boolean validateCertificate(X509Certificate cert)
public boolean validateDirectTrustCertificate(X509Certificate cert)
protected boolean checkCertificateValidity(X509Certificate cert, boolean directTrust)
protected LocateRequestType prepareLocateXKMSRequest(List<X509AppId> ids)
protected X509Certificate parseLocateXKMSResponse(LocateResultType locateResultType, List<X509AppId> ids)
protected ValidateRequestType prepareValidateXKMSRequest(X509Certificate cert)
protected XKMSInvoker.CertificateValidationResult parseValidateXKMSResponse(ValidateResultType validateResultType, String id)
Apache CXF