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 void
establishWildcardsLocations()
resolves all wildcardsFile
getCacheFile(URL url)
List<String>
getLocations()
List<URL>
getResolvedWildcards()
List<URL>
getURLLocations()
boolean
isPresent(URL u)
void
saveCacheFile(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:
URISyntaxException
IOException
-
establishWildcardsLocations
public void establishWildcardsLocations()
resolves all wildcards
-
isPresent
public boolean isPresent(URL u)
-
-