Uses of Class
eu.emi.security.authn.x509.impl.CertificateUtils.Encoding
-
Packages that use CertificateUtils.Encoding 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. -
-
Uses of CertificateUtils.Encoding in eu.emi.security.authn.x509.helpers.trust
Fields in eu.emi.security.authn.x509.helpers.trust declared as CertificateUtils.Encoding Modifier and Type Field Description protected CertificateUtils.Encoding
DirectoryTrustAnchorStore. encoding
Methods in eu.emi.security.authn.x509.helpers.trust that return CertificateUtils.Encoding Modifier and Type Method Description CertificateUtils.Encoding
DirectoryTrustAnchorStore. getEncoding()
Constructors in eu.emi.security.authn.x509.helpers.trust with parameters of type CertificateUtils.Encoding Constructor Description DirectoryTrustAnchorStore(java.util.List<java.lang.String> locations, java.lang.String diskCache, int connectionTimeout, java.util.Timer t, long updateInterval, CertificateUtils.Encoding encoding, ObserversHandler listeners)
DirectoryTrustAnchorStore(java.util.List<java.lang.String> locations, java.lang.String diskCache, int connectionTimeout, java.util.Timer t, long updateInterval, CertificateUtils.Encoding encoding, ObserversHandler observers, boolean noFirstUpdate)
-
Uses of CertificateUtils.Encoding in eu.emi.security.authn.x509.impl
Methods in eu.emi.security.authn.x509.impl that return CertificateUtils.Encoding Modifier and Type Method Description static CertificateUtils.Encoding
CertificateUtils.Encoding. valueOf(java.lang.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.Methods in eu.emi.security.authn.x509.impl with parameters of type CertificateUtils.Encoding Modifier and Type Method Description static java.security.cert.X509Certificate
CertificateUtils. loadCertificate(java.io.InputStream is, CertificateUtils.Encoding format)
Loads a single certificate from the provided input stream.static java.security.cert.X509Certificate[]
CertificateUtils. loadCertificateChain(java.io.InputStream is, CertificateUtils.Encoding format)
Loads a chain of certificates from the provided input stream.static java.security.cert.X509Certificate[]
CertificateUtils. loadCertificates(java.io.InputStream is, CertificateUtils.Encoding format)
Loads a set of (possibly unrelated to each other) certificates from the provided input stream.static java.security.PrivateKey
CertificateUtils. loadPrivateKey(java.io.InputStream is, CertificateUtils.Encoding format, char[] password)
Loads a private key from the provided input stream.static void
CertificateUtils. saveCertificate(java.io.OutputStream os, java.security.cert.X509Certificate cert, CertificateUtils.Encoding format)
Saves the provided certificate to the output file, using the requested encoding.static void
CertificateUtils. saveCertificateChain(java.io.OutputStream os, java.security.cert.X509Certificate[] chain, CertificateUtils.Encoding format)
Saves the provided certificate chain to the output stream, using the requested encoding.static void
CertificateUtils. savePrivateKey(java.io.OutputStream os, java.security.PrivateKey pk, CertificateUtils.Encoding format, java.lang.String encryptionAlg, char[] encryptionPassword)
AsCertificateUtils.savePrivateKey(OutputStream, PrivateKey, Encoding, String, char[], boolean)
with the last argument equal to falsestatic void
CertificateUtils. savePrivateKey(java.io.OutputStream os, java.security.PrivateKey pk, CertificateUtils.Encoding format, java.lang.String encryptionAlg, char[] encryptionPassword, boolean opensslLegacyFormat)
Saves the provided private key to the output file, using the requested encoding.Constructors in eu.emi.security.authn.x509.impl with parameters of type CertificateUtils.Encoding Constructor Description DirectoryCertChainValidator(java.util.List<java.lang.String> trustedLocations, CertificateUtils.Encoding encoding, long truststoreUpdateInterval, int connectionTimeoutCA, java.lang.String diskCache)
Constructs a new validator instance with default additional settings (seeValidatorParamsExt()
).DirectoryCertChainValidator(java.util.List<java.lang.String> trustedLocations, CertificateUtils.Encoding encoding, long truststoreUpdateInterval, int connectionTimeoutCA, java.lang.String diskCache, ValidatorParamsExt params)
Constructs a new validator instance.
-