org.glite.voms.ac

Class ACValidator


public class ACValidator
extends java.lang.Object

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

Field Summary

protected static 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)

Field Details

log

protected static final Logger log

myTrustStore

protected ACTrustStore myTrustStore

myVOMSStore

protected VOMSTrustStore myVOMSStore

theVerifier

protected PKIVerifier theVerifier

Constructor Details

ACValidator

public ACValidator(ACTrustStore trustStore)

ACValidator

public ACValidator(PKIVerifier verifier)

ACValidator

public ACValidator(VOMSTrustStore theStore)

Method Details

cleanup

public void cleanup()

getInstance

public static ACValidator getInstance()

getInstance

public static ACValidator getInstance(ACTrustStore trustStore)
            throws IllegalArgumentException

getInstance

public static ACValidator getInstance(VOMSTrustStore trustStore)
            throws IllegalArgumentException

validate

public boolean validate(AttributeCertificate ac)