Class IdentityChecker

  • All Implemented Interfaces:
    CertificateChecker

    public class IdentityChecker
    extends java.lang.Object
    implements 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.
    • Method Detail

      • invoke

        public void invoke​(java.security.cert.X509Certificate cert,
                           GSIConstants.CertificateType certType)
                    throws java.security.cert.CertPathValidatorException
        Method that sets the identity of the certificate path. Also checks if limited proxy is acceptable.
        Specified by:
        invoke in interface CertificateChecker
        Parameters:
        cert - The certificate to validate.
        certType - The type of certificate to validate.
        Throws:
        java.security.cert.CertPathValidatorException - If limited proxies are not accepted and the chain has a limited proxy.