org.glite.security.voms.ac
Class ACValidator

java.lang.Object
  extended by org.glite.security.voms.ac.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.

Author:
mulmo

Constructor Summary
ACValidator(ACTrustStore trustStore)
           
 
Method Summary
static ACValidator getInstance()
           
static ACValidator getInstance(ACTrustStore trustStore)
           
 boolean validate(AttributeCertificate ac)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACValidator

public ACValidator(ACTrustStore trustStore)
Method Detail

getInstance

public static ACValidator getInstance()

getInstance

public static ACValidator getInstance(ACTrustStore trustStore)

validate

public boolean validate(AttributeCertificate ac)