|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glite.voms.PKIVerifier
public class PKIVerifier
| Field Summary | |
|---|---|
static String |
AUTHORITY_KEY_IDENTIFIER
|
static String |
BASIC_CONSTRAINTS_IDENTIFIER
|
static String |
KEY_USAGE_IDENTIFIER
|
static String |
PROXYCERTINFO
|
static String |
PROXYCERTINFO_OLD
|
static String |
SUBJECT_KEY_IDENTIFIER
|
static String |
TARGET
|
| Constructor Summary | |
|---|---|
PKIVerifier()
Initializes the verifier. |
|
PKIVerifier(VOMSTrustStore vomsStore)
Initializes the verifier. |
|
PKIVerifier(VOMSTrustStore vomsStore,
PKIStore caStore)
Initializes the verifier. |
|
| Method Summary | |
|---|---|
void |
cleanup()
Cleans up resources allocated by the verifier. |
void |
setCAStore(PKIStore store)
Sets a new CAStore. |
void |
setVOMSStore(VOMSTrustStore store)
Sets a new VOMSStore. |
boolean |
verify(AttributeCertificate ac)
Verifies an Attribute Certificate according to RFC 3281. |
boolean |
verify(X509Certificate[] certs)
Verifies an certificate chain according to RFC 3280. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SUBJECT_KEY_IDENTIFIER
public static final String AUTHORITY_KEY_IDENTIFIER
public static final String PROXYCERTINFO
public static final String PROXYCERTINFO_OLD
public static final String BASIC_CONSTRAINTS_IDENTIFIER
public static final String KEY_USAGE_IDENTIFIER
public static final String TARGET
| Constructor Detail |
|---|
public PKIVerifier(VOMSTrustStore vomsStore,
PKIStore caStore)
vomsStore - the VOMSTrustStore object which represents the vomsdir store.caStore - the PKIStore object which represents the CA store.
public PKIVerifier(VOMSTrustStore vomsStore)
throws IOException,
CertificateException,
CRLException
vomsStore - the VOMSTrustStore object which represents the vomsdir store.
IOException - if there have been IO errors.
CertificateException - if there have been problems parsing a certificate
CRLException - if there have been problems parsing a CRL.
public PKIVerifier()
throws IOException,
CertificateException,
CRLException
IOException - if there have been IO errors.
CertificateException - if there have been problems parsing a certificate
CRLException - if there have been problems parsing a CRL.| Method Detail |
|---|
public void cleanup()
public void setCAStore(PKIStore store)
store - the new CA store.public void setVOMSStore(VOMSTrustStore store)
store - the new VOMS store.public boolean verify(AttributeCertificate ac)
ac - the Attribute Certificate to verify.
public boolean verify(X509Certificate[] certs)
certs - the chain to verify.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||