|
|||||||||
| 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 java.lang.String |
AUTHORITY_KEY_IDENTIFIER
|
static java.lang.String |
BASIC_CONSTRAINTS_IDENTIFIER
|
static java.lang.String |
KEY_USAGE_IDENTIFIER
|
static java.lang.String |
PROXYCERTINFO
|
static java.lang.String |
PROXYCERTINFO_OLD
|
static java.lang.String |
SUBJECT_KEY_IDENTIFIER
|
static java.lang.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(java.security.cert.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 java.lang.String SUBJECT_KEY_IDENTIFIER
public static final java.lang.String AUTHORITY_KEY_IDENTIFIER
public static final java.lang.String PROXYCERTINFO
public static final java.lang.String PROXYCERTINFO_OLD
public static final java.lang.String BASIC_CONSTRAINTS_IDENTIFIER
public static final java.lang.String KEY_USAGE_IDENTIFIER
public static final java.lang.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 java.io.IOException,
java.security.cert.CertificateException,
java.security.cert.CRLException
vomsStore - the VOMSTrustStore object which represents the vomsdir store.
java.io.IOException - if there have been IO errors.
java.security.cert.CertificateException - if there have been problems parsing a certificate
java.security.cert.CRLException - if there have been problems parsing a CRL.
public PKIVerifier()
throws java.io.IOException,
java.security.cert.CertificateException,
java.security.cert.CRLException
java.io.IOException - if there have been IO errors.
java.security.cert.CertificateException - if there have been problems parsing a certificate
java.security.cert.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(java.security.cert.X509Certificate[] certs)
certs - the chain to verify.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||