public class CertificateReader extends Object
Constructor and Description |
---|
CertificateReader() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static iaik.x509.X509Certificate[] |
p7read(File path) |
static List<iaik.x509.X509Certificate> |
readCertificates(String directory)
Reads the certificates from the given directory and
returns the certificates as sorted list (end user certificate first).
|
static iaik.x509.X509Certificate[] |
readCertificatesIntoArray(String directory)
Reads the certificates from the given directory and
returns the certificates as sorted list (end user certificate first).
|
public static iaik.x509.X509Certificate[] readCertificatesIntoArray(String directory) throws CertificateException, FileNotFoundException, IOException
directory
- IOException
FileNotFoundException
CertificateException
Exception
public static List<iaik.x509.X509Certificate> readCertificates(String directory) throws CertificateException, FileNotFoundException, IOException
directory
- IOException
FileNotFoundException
CertificateException
Exception
public static void main(String[] args)
public static iaik.x509.X509Certificate[] p7read(File path) throws iaik.pkcs.PKCSParsingException, FileNotFoundException, IOException
iaik.pkcs.PKCSParsingException
FileNotFoundException
IOException
Copyright © 2016. All rights reserved.