eu.emi.security.authn.x509.helpers.pkipath
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainStoreUtils
public PlainStoreUtils(String diskPath,
String suffix,
List<String> locations)
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)
getResolvedWildcards
public List<URL> getResolvedWildcards()
getURLLocations
public List<URL> getURLLocations()
getLocations
public List<String> getLocations()
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.