Package org.globus.gsi.trustmanager
Class IdentityChecker
java.lang.Object
org.globus.gsi.trustmanager.IdentityChecker
- All Implemented Interfaces:
CertificateChecker
Checks to see if a limited proxy is acceptable (if the chain has a limited proxy).
Also, sets the identity certificate in the certificate path validator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
invoke
(X509Certificate cert, GSIConstants.CertificateType certType) Method that sets the identity of the certificate path.
-
Constructor Details
-
IdentityChecker
-
-
Method Details
-
invoke
public void invoke(X509Certificate cert, GSIConstants.CertificateType certType) throws CertPathValidatorException Method that sets the identity of the certificate path. Also checks if limited proxy is acceptable.- Specified by:
invoke
in interfaceCertificateChecker
- Parameters:
cert
- The certificate to validate.certType
- The type of certificate to validate.- Throws:
CertPathValidatorException
- If limited proxies are not accepted and the chain has a limited proxy.
-