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() |
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()
getProtectionParameter in interface KeyStore.LoadStoreParameterpublic boolean isForDEREncoding()
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.