public class PKCS12StoreParameter extends Object implements KeyStore.LoadStoreParameter
Note: if you want a straight DER encoding of a PKCS#12 file you should use this.
| Constructor and Description |
|---|
PKCS12StoreParameter(OutputStream out,
char[] password) |
PKCS12StoreParameter(OutputStream out,
char[] password,
boolean forDEREncoding) |
PKCS12StoreParameter(OutputStream out,
KeyStore.ProtectionParameter protectionParameter) |
PKCS12StoreParameter(OutputStream out,
KeyStore.ProtectionParameter protectionParameter,
boolean forDEREncoding) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream() |
KeyStore.ProtectionParameter |
getProtectionParameter()
Returns the
ProtectionParameter which is used to protect data
in the KeyStore. |
boolean |
isForDEREncoding()
Return whether the KeyStore used with this parameter should be DER encoded on saving.
|
public PKCS12StoreParameter(OutputStream out, char[] password)
public PKCS12StoreParameter(OutputStream out, KeyStore.ProtectionParameter protectionParameter)
public PKCS12StoreParameter(OutputStream out, char[] password, boolean forDEREncoding)
public PKCS12StoreParameter(OutputStream out, KeyStore.ProtectionParameter protectionParameter, boolean forDEREncoding)
public OutputStream getOutputStream()
public KeyStore.ProtectionParameter getProtectionParameter()
KeyStore.LoadStoreParameterProtectionParameter which is used to protect data
in the KeyStore.getProtectionParameter in interface KeyStore.LoadStoreParameterProtectionParameter which is used to protect data
in the KeyStore, maybe null.public boolean isForDEREncoding()