public class IdentityChecker extends java.lang.Object implements CertificateChecker
Modifier and Type | Field and Description |
---|---|
private X509ProxyCertPathValidator |
proxyCertValidator |
Constructor and Description |
---|
IdentityChecker(X509ProxyCertPathValidator proxyCertPathValidator) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(java.security.cert.X509Certificate cert,
GSIConstants.CertificateType certType)
Method that sets the identity of the certificate path.
|
private X509ProxyCertPathValidator proxyCertValidator
public IdentityChecker(X509ProxyCertPathValidator proxyCertPathValidator)
public void invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType) throws java.security.cert.CertPathValidatorException
invoke
in interface CertificateChecker
cert
- The certificate to validate.certType
- The type of certificate to validate.java.security.cert.CertPathValidatorException
- If limited proxies are not accepted
and the chain has a limited proxy.