|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxades4j.utils.FileSystemDirectoryCertStore
public class FileSystemDirectoryCertStore
Creates a CertStore from the contents of a file-system directory. The
directories are recusively searched for X509 certificates or CRLs files that
have one of the specified extensions.
| Constructor Summary | |
|---|---|
FileSystemDirectoryCertStore(String dirPath)
Creates a new instance over a directory. |
|
FileSystemDirectoryCertStore(String dirPath,
String[] certsFilesExts,
String[] crlsFilesExts)
Creates a new instance over a directory using the specified extensions |
|
| Method Summary | |
|---|---|
CertStore |
getStore()
Gets the CertStore resulting from this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSystemDirectoryCertStore(String dirPath)
throws CertificateException,
CRLException
cer and crt
extesions are considered for certificates and crl for CRLs.
dirPath - the path for the base directory
CertificateException - if there's an error reading the certificates
CRLException - if there's an error reading the CRLs
public FileSystemDirectoryCertStore(String dirPath,
String[] certsFilesExts,
String[] crlsFilesExts)
throws CertificateException,
CRLException
dirPath - the path for the base directorycertsFilesExts - extensions for included certificate filescrlsFilesExts - extensions for included CRL files
CertificateException - if there's an error reading the certificates
CRLException - if there's an error reading the CRLs| Method Detail |
|---|
public CertStore getStore()
CertStore resulting from this instance.
CertStore containing all the certificates and CRLs that were found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||