public static class PKCS12LoadStoreParameter.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Base constructor for creating a LoadStoreParameter for initializing a key store.
|
Builder(java.io.InputStream in,
char[] password)
Base constructor for reading a KeyStore from an InputStream using a password.
|
Builder(java.io.InputStream in,
java.security.KeyStore.ProtectionParameter protectionParameter)
Base constructor for reading a KeyStore from an InputStream using a password.
|
Builder(java.io.OutputStream out,
char[] password)
Base constructor for storing to an OutputStream using a password.
|
Builder(java.io.OutputStream out,
java.security.KeyStore.ProtectionParameter protectionParameter)
Base constructor for storing to an OutputStream using a protection parameter.
|
| Modifier and Type | Method and Description |
|---|---|
PKCS12LoadStoreParameter |
build()
Build and return a PKCS12LoadStoreParameter.
|
PKCS12LoadStoreParameter.Builder |
setUseISO8859d1ForDecryption(boolean enabled) |
public Builder()
public Builder(java.io.OutputStream out,
char[] password)
out - OutputStream to write KeyStore to.password - the password to use to protect the KeyStore.public Builder(java.io.OutputStream out,
java.security.KeyStore.ProtectionParameter protectionParameter)
out - OutputStream to write KeyStore to.protectionParameter - the protection parameter to use to protect the KeyStore.public Builder(java.io.InputStream in,
char[] password)
in - InputStream to read the KeyStore from.password - the password used to protect the KeyStore.public Builder(java.io.InputStream in,
java.security.KeyStore.ProtectionParameter protectionParameter)
in - InputStream to read the KeyStore from.protectionParameter - the protection parameter used to protect the KeyStore.public PKCS12LoadStoreParameter.Builder setUseISO8859d1ForDecryption(boolean enabled)
public PKCS12LoadStoreParameter build()