|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxsul.dsig.globus.security.authentication.wssec.ProxyPathValidator
Performs certificate/proxy path validation. It supports both
old style Globus proxy as well as the new proxy certificate format.
It checks BasicConstraints, KeyUsage, and ProxyCertInfo (if applicable)
extensions. It also provides a callback interface for custom policy
checking of restricted proxies.
Currently, does not perform the following checks for the new proxy
certificates:
| Constructor Summary | |
ProxyPathValidator()
|
|
| Method Summary | |
java.lang.String |
getIdentity()
Returns the subject name of the identity certificate (in the Globus format) |
java.security.cert.X509Certificate |
getIdentityCertificate()
Returns the identity certificate. |
boolean |
isLimited()
Returns if the validated proxy path is limited. |
void |
reset()
Resets the internal state. |
void |
validate(java.security.cert.X509Certificate[] certPath)
Performs certificate path validation. |
void |
validate(java.security.cert.X509Certificate[] certPath,
java.security.cert.X509Certificate[] trustedCerts)
Performs all certificate path validation including checking of the signatures, validity of the certificates, extension checking, etc. It uses the PureTLS code to do basic signature & certificate validity checking and then calls validate for further checks. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProxyPathValidator()
| Method Detail |
public boolean isLimited()
public java.security.cert.X509Certificate getIdentityCertificate()
X509Certificate the identity certificatepublic java.lang.String getIdentity()
getIdentityCertificate()public void reset()
public void validate(java.security.cert.X509Certificate[] certPath,
java.security.cert.X509Certificate[] trustedCerts)
throws ProxyPathValidatorException
validate for further checks.
certPath - the certificate path to validate.trustedCerts - the trusted (CA) certificates.
ProxyPathValidatorException - if certificate
path validation fails.
public void validate(java.security.cert.X509Certificate[] certPath)
throws ProxyPathValidatorException
certPath - the certificate path to validate.
ProxyPathValidatorException - if certificate
path validation fails.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||