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 |
---|---|
static KeyStore |
CertificateUtils.loadPEMKeystore(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 PrivateKey |
CertificateUtils.loadPEMPrivateKey(InputStream is,
PasswordSupplier pf)
Loads a private key from the provided input stream.
|
Constructor and Description |
---|
PEMCredential(InputStream privateKeyStream,
InputStream certificateStream,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(InputStream, InputStream, char[]) but password is retrieved on demand. |
PEMCredential(InputStream keystoreStream,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(InputStream, char[]) but this version allows for providing
decryption key only when needed. |
PEMCredential(Reader privateKeyReader,
Reader certificateReader,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(Reader, Reader, char[]) but password is retrieved on demand. |
PEMCredential(String keystorePath,
PasswordSupplier pf)
As
PEMCredential.PEMCredential(String, char[]) but this version allows for providing
decryption key only when needed. |
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.