Package | Description |
---|---|
java.security | |
javax.net.ssl |
Modifier and Type | Method and Description |
---|---|
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it.
|
abstract void |
KeyStoreSpi.engineLoad(InputStream stream,
char[] password)
Loads the keystore from the given input stream.
|
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it.
|
void |
KeyStore.load(InputStream stream,
char[] password)
Loads this KeyStore from the given input stream.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
KeyManagerFactorySpi.engineInit(KeyStore ks,
char[] password)
Initializes this factory with a source of key material.
|
static SSLContext |
SSLContext.getDefault()
Returns the default SSL context.
|
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm)
Returns a
TrustManagerFactory object that acts as a factory for trust managers. |
static SSLContext |
SSLContext.getInstance(String protocol)
Returns a
SSLContext object that implements the specified secure socket protocol. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm)
Returns a
KeyManagerFactory object that acts as a factory for key managers. |
void |
KeyManagerFactory.init(KeyStore ks,
char[] password)
Initializes this factory with a source of key material.
|