com.sun.xml.wss.impl.callback
Class CertificateValidationCallback

java.lang.Object
  extended by com.sun.xml.wss.impl.callback.XWSSCallback
      extended by com.sun.xml.wss.impl.callback.CertificateValidationCallback
All Implemented Interfaces:
Callback

public class CertificateValidationCallback
extends XWSSCallback
implements Callback

This Callback is intended for X.509 certificate validation A validator that implements the CertificateValidator interface should be set on the callback by the callback handler.

Author:
XWS-Security Team.

Nested Class Summary
static class CertificateValidationCallback.CertificateValidationException
           
static interface CertificateValidationCallback.CertificateValidator
           
 
Constructor Summary
CertificateValidationCallback(X509Certificate certificate)
           
CertificateValidationCallback(X509Certificate certificate, Map context)
           
 
Method Summary
 boolean getResult()
           
 boolean isRevocationEnabled()
           
 void setRevocationEnabled(boolean revocationEnabled)
           
 void setValidator(CertificateValidationCallback.CertificateValidator validator)
          This method must be invoked while handling this CallBack.
 
Methods inherited from class com.sun.xml.wss.impl.callback.XWSSCallback
getRuntimeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateValidationCallback

public CertificateValidationCallback(X509Certificate certificate)

CertificateValidationCallback

public CertificateValidationCallback(X509Certificate certificate,
                                     Map context)
Method Detail

getResult

public boolean getResult()

setValidator

public void setValidator(CertificateValidationCallback.CertificateValidator validator)
This method must be invoked while handling this CallBack.


isRevocationEnabled

public boolean isRevocationEnabled()

setRevocationEnabled

public void setRevocationEnabled(boolean revocationEnabled)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.