Class PlainStoreUtils
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.pkipath.PlainStoreUtils
-
public class PlainStoreUtils extends Object
Class for CA or CRL stores with utility methods for handling list of locations as wildcards or URLs.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description PlainStoreUtils(String diskPath, String suffix, List<String> locations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidestablishWildcardsLocations()resolves all wildcardsFilegetCacheFile(URL url)List<String>getLocations()List<URL>getResolvedWildcards()List<URL>getURLLocations()booleanisPresent(URL u)voidsaveCacheFile(byte[] what, URL url)
-
-
-
Method Detail
-
getCacheFile
public File getCacheFile(URL url) throws URISyntaxException
- Throws:
URISyntaxException
-
saveCacheFile
public void saveCacheFile(byte[] what, URL url) throws URISyntaxException, IOException- Throws:
URISyntaxExceptionIOException
-
establishWildcardsLocations
public void establishWildcardsLocations()
resolves all wildcards
-
isPresent
public boolean isPresent(URL u)
-
-