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.
|
Modifier and Type | Class and Description |
---|---|
class |
CharArrayPasswordFinder
Trivial implementation of
PasswordSupplier which uses a password
provided to the constructor. |
Modifier and Type | Method and Description |
---|---|
static PasswordSupplier |
CertificateUtils.getPF(char[] password) |
Modifier and Type | Method and 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)
As
CertificateUtils.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) |
Constructor and Description |
---|
PEMCredential(java.io.InputStream privateKeyStream,
java.io.InputStream certificateStream,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(InputStream, InputStream, char[]) but password is retrieved on demand. |
PEMCredential(java.io.InputStream keystoreStream,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(InputStream, char[]) but this version allows for providing
decryption key only when needed. |
PEMCredential(java.io.Reader privateKeyReader,
java.io.Reader certificateReader,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(Reader, Reader, char[]) but password is retrieved on demand. |
PEMCredential(java.lang.String keystorePath,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(String, char[]) but this version allows for providing
decryption key only when needed. |