Uses of Interface
eu.emi.security.authn.x509.helpers.PasswordSupplier
-
Packages that use PasswordSupplier Package Description eu.emi.security.authn.x509.helpers Consists of general purpose classes, helping to implement generic functionality of the library.eu.emi.security.authn.x509.impl Contains implementation classes of the library. -
-
Uses of PasswordSupplier in eu.emi.security.authn.x509.helpers
Classes in eu.emi.security.authn.x509.helpers that implement PasswordSupplier Modifier and Type Class Description class
CharArrayPasswordFinder
Trivial implementation ofPasswordSupplier
which uses a password provided to the constructor. -
Uses of PasswordSupplier in eu.emi.security.authn.x509.impl
Methods in eu.emi.security.authn.x509.impl that return PasswordSupplier Modifier and Type Method Description static PasswordSupplier
CertificateUtils. getPF(char[] password)
Methods in eu.emi.security.authn.x509.impl with parameters of type PasswordSupplier Modifier and Type Method Description private static java.security.PrivateKey
CertificateUtils. convertToPrivateKey(java.lang.Object pemObject, java.lang.String type, PasswordSupplier pf)
private void
PEMCredential. init(java.io.InputStream privateKeyStream, java.io.InputStream certificateStream, PasswordSupplier pf)
private static java.security.PrivateKey
CertificateUtils. internalLoadPK(org.bouncycastle.openssl.PEMParser pemReader, java.lang.String type, PasswordSupplier pf)
static java.security.KeyStore
CertificateUtils. loadPEMKeystore(java.io.InputStream is, PasswordSupplier pf, char[] ksPassword)
AsCertificateUtils.loadPEMKeystore(InputStream, char[], char[])
but this version allows for providing input key's encryption password only when needed.static java.security.PrivateKey
CertificateUtils. loadPEMPrivateKey(java.io.InputStream is, PasswordSupplier pf)
Loads a private key from the provided input stream.private static java.security.PrivateKey
CertificateUtils. parsePEMPrivateKey(org.bouncycastle.util.io.pem.PemObject pem, PasswordSupplier pf)
private static org.bouncycastle.asn1.pkcs.PrivateKeyInfo
CertificateUtils. resolvePK(java.lang.String type, java.lang.Object src, PasswordSupplier pf)
Constructors in eu.emi.security.authn.x509.impl with parameters of type PasswordSupplier Constructor Description PEMCredential(java.io.InputStream keystoreStream, PasswordSupplier pf)
AsPEMCredential(InputStream, char[])
but this version allows for providing decryption key only when needed.PEMCredential(java.io.InputStream privateKeyStream, java.io.InputStream certificateStream, PasswordSupplier pf)
AsPEMCredential(InputStream, InputStream, char[])
but password is retrieved on demand.PEMCredential(java.io.Reader privateKeyReader, java.io.Reader certificateReader, PasswordSupplier pf)
AsPEMCredential(Reader, Reader, char[])
but password is retrieved on demand.PEMCredential(java.lang.String keystorePath, PasswordSupplier pf)
AsPEMCredential(String, char[])
but this version allows for providing decryption key only when needed.
-