eu.emi.security.authn.x509
Class RevocationParameters

java.lang.Object
  extended by eu.emi.security.authn.x509.RevocationParameters
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
RevocationParametersExt

public class RevocationParameters
extends Object
implements Cloneable

Wraps the information required to control how certificates revocation is checked. Currently only contains CRL settings, but in future versions this class will be extended to also control other revocation technologies like OCSP.

Author:
K. Benedyczak

Field Summary
protected  CrlCheckingMode crlCheckingMode
           
static RevocationParameters IGNORE
          Constant which can be used to simply turn off any revocation checking.
 
Constructor Summary
RevocationParameters()
          Default constructor, using the default CrlCheckingMode.REQUIRE
RevocationParameters(CrlCheckingMode crlCheckingMode)
          Constructor.
 
Method Summary
 RevocationParameters clone()
          Clone the instance
 CrlCheckingMode getCrlCheckingMode()
          Returns the current CRL settings.
 void setCrlCheckingMode(CrlCheckingMode crlCheckingMode)
          Changes CRL settings that shall be used.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IGNORE

public static final RevocationParameters IGNORE
Constant which can be used to simply turn off any revocation checking.


crlCheckingMode

protected CrlCheckingMode crlCheckingMode
Constructor Detail

RevocationParameters

public RevocationParameters()
Default constructor, using the default CrlCheckingMode.REQUIRE


RevocationParameters

public RevocationParameters(CrlCheckingMode crlCheckingMode)
Constructor.

Parameters:
crlCheckingMode - what CRL settings shall be used
Method Detail

getCrlCheckingMode

public CrlCheckingMode getCrlCheckingMode()
Returns the current CRL settings.

Returns:
the current CRL settings

setCrlCheckingMode

public void setCrlCheckingMode(CrlCheckingMode crlCheckingMode)
Changes CRL settings that shall be used.

Parameters:
crlCheckingMode - what CRL settings shall be used

clone

public RevocationParameters clone()
Clone the instance

Overrides:
clone in class Object


Copyright © 2012 European Middleware Initiative. All Rights Reserved.