Apache CXF API

org.apache.cxf.xkms.client
Class XKMSInvoker

java.lang.Object
  extended by org.apache.cxf.xkms.client.XKMSInvoker

public class XKMSInvoker
extends Object


Nested Class Summary
static class XKMSInvoker.CertificateValidationResult
           
 
Constructor Summary
XKMSInvoker(XKMSPortType xkmsConsumer)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XKMSInvoker

public XKMSInvoker(XKMSPortType xkmsConsumer)
Method Detail

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 API

Apache CXF