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