Class PKCS12LoadStoreParameter.Builder
java.lang.Object
org.bouncycastle.jcajce.PKCS12LoadStoreParameter.Builder
- Enclosing class:
PKCS12LoadStoreParameter
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Base constructor for creating a LoadStoreParameter for initializing a key store.Builder(InputStream in, char[] password) Base constructor for reading a KeyStore from an InputStream using a password.Builder(InputStream in, KeyStore.ProtectionParameter protectionParameter) Base constructor for reading a KeyStore from an InputStream using a password.Builder(OutputStream out, char[] password) Base constructor for storing to an OutputStream using a password.Builder(OutputStream out, KeyStore.ProtectionParameter protectionParameter) Base constructor for storing to an OutputStream using a protection parameter. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build and return a PKCS12LoadStoreParameter.setUseISO8859d1ForDecryption(boolean enabled)
-
Constructor Details
-
Builder
public Builder()Base constructor for creating a LoadStoreParameter for initializing a key store. -
Builder
Base constructor for storing to an OutputStream using a password.- Parameters:
out- OutputStream to write KeyStore to.password- the password to use to protect the KeyStore.
-
Builder
Base constructor for storing to an OutputStream using a protection parameter.- Parameters:
out- OutputStream to write KeyStore to.protectionParameter- the protection parameter to use to protect the KeyStore.
-
Builder
Base constructor for reading a KeyStore from an InputStream using a password.- Parameters:
in- InputStream to read the KeyStore from.password- the password used to protect the KeyStore.
-
Builder
Base constructor for reading a KeyStore from an InputStream using a password.- Parameters:
in- InputStream to read the KeyStore from.protectionParameter- the protection parameter used to protect the KeyStore.
-
-
Method Details
-
setUseISO8859d1ForDecryption
-
build
Build and return a PKCS12LoadStoreParameter.- Returns:
- a new PKCS12LoadStoreParameter.
-