Class PlainStoreUtils
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.pkipath.PlainStoreUtils
-
public class PlainStoreUtils extends java.lang.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(java.lang.String diskPath, java.lang.String suffix, java.util.List<java.lang.String> locations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
establishWildcardsLocations()
resolves all wildcardsjava.io.File
getCacheFile(java.net.URL url)
java.util.List<java.lang.String>
getLocations()
java.util.List<java.net.URL>
getResolvedWildcards()
java.util.List<java.net.URL>
getURLLocations()
boolean
isPresent(java.net.URL u)
void
saveCacheFile(byte[] what, java.net.URL url)
-
-
-
Method Detail
-
getCacheFile
public java.io.File getCacheFile(java.net.URL url) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
saveCacheFile
public void saveCacheFile(byte[] what, java.net.URL url) throws java.net.URISyntaxException, java.io.IOException
- Throws:
java.net.URISyntaxException
java.io.IOException
-
establishWildcardsLocations
public void establishWildcardsLocations()
resolves all wildcards
-
isPresent
public boolean isPresent(java.net.URL u)
-
getResolvedWildcards
public java.util.List<java.net.URL> getResolvedWildcards()
-
getURLLocations
public java.util.List<java.net.URL> getURLLocations()
-
getLocations
public java.util.List<java.lang.String> getLocations()
-
-