Package | Description |
---|---|
eu.emi.security.authn.x509.helpers.trust |
Contains implementations of trust stores, which provide access to trusted root
certificates.
|
eu.emi.security.authn.x509.impl |
Contains implementation classes of the library.
|
Modifier and Type | Field and Description |
---|---|
protected CertificateUtils.Encoding |
DirectoryTrustAnchorStore.encoding |
Modifier and Type | Method and Description |
---|---|
CertificateUtils.Encoding |
DirectoryTrustAnchorStore.getEncoding() |
Constructor and Description |
---|
DirectoryTrustAnchorStore(List<String> locations,
String diskCache,
int connectionTimeout,
Timer t,
long updateInterval,
CertificateUtils.Encoding encoding,
ObserversHandler listeners) |
DirectoryTrustAnchorStore(List<String> locations,
String diskCache,
int connectionTimeout,
Timer t,
long updateInterval,
CertificateUtils.Encoding encoding,
ObserversHandler observers,
boolean noFirstUpdate) |
Modifier and Type | Method and Description |
---|---|
static CertificateUtils.Encoding |
CertificateUtils.Encoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateUtils.Encoding[] |
CertificateUtils.Encoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static X509Certificate |
CertificateUtils.loadCertificate(InputStream is,
CertificateUtils.Encoding format)
Loads a single certificate from the provided input stream.
|
static X509Certificate[] |
CertificateUtils.loadCertificateChain(InputStream is,
CertificateUtils.Encoding format)
Loads a chain of certificates from the provided input stream.
|
static X509Certificate[] |
CertificateUtils.loadCertificates(InputStream is,
CertificateUtils.Encoding format)
Loads a set of (possibly unrelated to each other) certificates from the provided input stream.
|
static PrivateKey |
CertificateUtils.loadPrivateKey(InputStream is,
CertificateUtils.Encoding format,
char[] password)
Loads a private key from the provided input stream.
|
static void |
CertificateUtils.saveCertificate(OutputStream os,
X509Certificate cert,
CertificateUtils.Encoding format)
Saves the provided certificate to the output file, using the requested encoding.
|
static void |
CertificateUtils.saveCertificateChain(OutputStream os,
X509Certificate[] chain,
CertificateUtils.Encoding format)
Saves the provided certificate chain to the output stream, using the requested
encoding.
|
static void |
CertificateUtils.savePrivateKey(OutputStream os,
PrivateKey pk,
CertificateUtils.Encoding format,
String encryptionAlg,
char[] encryptionPassword)
As
CertificateUtils.savePrivateKey(OutputStream, PrivateKey, Encoding, String, char[], boolean) with
the last argument equal to false |
static void |
CertificateUtils.savePrivateKey(OutputStream os,
PrivateKey pk,
CertificateUtils.Encoding format,
String encryptionAlg,
char[] encryptionPassword,
boolean opensslLegacyFormat)
Saves the provided private key to the output file, using the requested encoding.
|
Constructor and Description |
---|
DirectoryCertChainValidator(List<String> trustedLocations,
CertificateUtils.Encoding encoding,
long truststoreUpdateInterval,
int connectionTimeoutCA,
String diskCache)
Constructs a new validator instance with default additional settings
(see
ValidatorParamsExt.ValidatorParamsExt() ). |
DirectoryCertChainValidator(List<String> trustedLocations,
CertificateUtils.Encoding encoding,
long truststoreUpdateInterval,
int connectionTimeoutCA,
String diskCache,
ValidatorParamsExt params)
Constructs a new validator instance.
|
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.