org.glite.voms.ac
Class ACValidator

java.lang.Object
  extended by org.glite.voms.ac.ACValidator

public class ACValidator
extends Object

Validator class capable of validating an Attribute Certificate and verify its signature against a trust store of Attribute Authority certificates.

Author:
mulmo

Field Summary
protected static org.apache.log4j.Logger log
           
protected  ACTrustStore myTrustStore
           
protected  VOMSTrustStore myVOMSStore
           
protected  PKIVerifier theVerifier
           
 
Constructor Summary
ACValidator(ACTrustStore trustStore)
           
ACValidator(PKIVerifier verifier)
           
ACValidator(VOMSTrustStore theStore)
           
 
Method Summary
 void cleanup()
           
static ACValidator getInstance()
           
static ACValidator getInstance(ACTrustStore trustStore)
           
static ACValidator getInstance(VOMSTrustStore trustStore)
           
 boolean validate(AttributeCertificate ac)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log

myTrustStore

protected ACTrustStore myTrustStore

myVOMSStore

protected VOMSTrustStore myVOMSStore

theVerifier

protected PKIVerifier theVerifier
Constructor Detail

ACValidator

public ACValidator(ACTrustStore trustStore)

ACValidator

public ACValidator(VOMSTrustStore theStore)

ACValidator

public ACValidator(PKIVerifier verifier)
Method Detail

getInstance

public static ACValidator getInstance()

getInstance

public static ACValidator getInstance(ACTrustStore trustStore)
                               throws IllegalArgumentException
Throws:
IllegalArgumentException

getInstance

public static ACValidator getInstance(VOMSTrustStore trustStore)
                               throws IllegalArgumentException
Throws:
IllegalArgumentException

cleanup

public void cleanup()

validate

public boolean validate(AttributeCertificate ac)


Copyright © 2013. All Rights Reserved.