org.globus.gsi.trustmanager
Class IdentityChecker

java.lang.Object
  extended by org.globus.gsi.trustmanager.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.


Constructor Summary
IdentityChecker(X509ProxyCertPathValidator proxyCertPathValidator)
           
 
Method Summary
 void invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
          Method that sets the identity of the certificate path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityChecker

public IdentityChecker(X509ProxyCertPathValidator proxyCertPathValidator)
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.


Copyright © 2013. All Rights Reserved.