agave-common/common-core/src/main/java/org/iplantc/service/common/auth/AgaveX509Credential.java
/**
	 * Verifies the validity of the credentials. All certificate path validation
	 * is performed using trusted certificates in default locations.
	 * 
	 * @exception CredentialException
	 *                if one of the certificates in the chain expired or if path
	 *                validiation fails.
	 */
Verifies the validity of the credentials. All certificate path validation
is performed using trusted certificates in default locations.

@exception CredentialException
if one of the certificates in the chain expired or if path
validiation fails.
Verifies the validity of the credentials . All certificate path validation is performed using trusted certificates in default locations . @exception CredentialException if one of the certificates in the chain expired or if path validiation fails .
public void verify() throws CredentialException {
		try {
			KeyStore keyStore = getTrustStore();
			CertStore crlStore = getCRLStore();
			ResourceSigningPolicyStore sigPolStore = getSigPolStore();
			X509ProxyCertPathParameters parameters = new X509ProxyCertPathParameters(
					keyStore, crlStore, sigPolStore, false);
			X509ProxyCertPathValidator validator = new X509ProxyCertPathValidator();
			validator.engineValidate(CertificateUtil.getCertPath(certChain),
					parameters);
		} catch (Exception e) {
			throw new CredentialException(e);
		}
	}
public void verify ( ) throws CredentialException { try { KeyStore keyStore = getTrustStore ( ) ; CertStore crlStore = getCRLStore ( ) ; ResourceSigningPolicyStore sigPolStore = getSigPolStore ( ) ; X509ProxyCertPathParameters parameters = new X509ProxyCertPathParameters ( keyStore , crlStore , sigPolStore , false ) ; X509ProxyCertPathValidator validator = new X509ProxyCertPathValidator ( ) ; validator . engineValidate ( CertificateUtil . getCertPath ( certChain ) , parameters ) ; } catch ( Exception e ) { throw new CredentialException ( e ) ; } }
Verifies the validity of the credentials.
Verifies the validity of the credentials .