org.apache.cxf.xkms.client
Class XKMSInvoker
java.lang.Object
org.apache.cxf.xkms.client.XKMSInvoker
public class XKMSInvoker
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XKMSInvoker
public XKMSInvoker(XKMSPortType xkmsConsumer)
getServiceCertificate
public X509Certificate getServiceCertificate(QName serviceName)
getCertificateForId
public X509Certificate getCertificateForId(Applications application,
String id)
getCertificateForIssuerSerial
public X509Certificate getCertificateForIssuerSerial(String issuerDN,
BigInteger serial)
getCertificateForEndpoint
public X509Certificate getCertificateForEndpoint(String endpoint)
getCertificate
public X509Certificate getCertificate(List<X509AppId> ids)
validateCertificate
public boolean validateCertificate(X509Certificate cert)
validateDirectTrustCertificate
public boolean validateDirectTrustCertificate(X509Certificate cert)
checkCertificateValidity
protected boolean checkCertificateValidity(X509Certificate cert,
boolean directTrust)
prepareLocateXKMSRequest
protected LocateRequestType prepareLocateXKMSRequest(List<X509AppId> ids)
parseLocateXKMSResponse
protected X509Certificate parseLocateXKMSResponse(LocateResultType locateResultType,
List<X509AppId> ids)
prepareValidateXKMSRequest
protected ValidateRequestType prepareValidateXKMSRequest(X509Certificate cert)
parseValidateXKMSResponse
protected XKMSInvoker.CertificateValidationResult parseValidateXKMSResponse(ValidateResultType validateResultType,
String id)
Apache CXF