public static CertStore findCRLStore ( String crlPattern ) throws GlobusSSLConfigurationException { try { return Stores . getCRLStore ( crlPattern ) ; } catch ( InvalidAlgorithmParameterException e ) { throw new GlobusSSLConfigurationException ( e ) ; } catch ( NoSuchAlgorithmException e ) { Log logger = LogFactory . getLog ( GlobusSSLHelper . class . getCanonicalName ( ) ) ; logger . warn ( "Error Loading CRL store" , e ) ; throw new GlobusSSLConfigurationException ( e ) ; } catch ( GeneralSecurityException e ) { Log logger = LogFactory . getLog ( GlobusSSLHelper . class . getCanonicalName ( ) ) ; logger . warn ( "Error Loading CRL store" , e ) ; throw new GlobusSSLConfigurationException ( e ) ; } }
Create a store of Certificate Revocation Lists . Java requires that this be a java . security . certificates . CertStore . As such the store can hold both CRL s and non - trusted certs . For the purposes of this method we assume that only crl s will be loaded . This can only be used with the Globus provided Certificate Store .