public class EncryptedPrivateKeyInfoData extends Object
Modifier and Type | Field and Description |
---|---|
static String[][] |
algName0
Algorithm_names/standard_names to be used in tests "DSA" and "DH" must be
always presented
|
static byte[] |
encryptedData
pretends to be encrypted private key
|
Constructor and Description |
---|
EncryptedPrivateKeyInfoData() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getParametersEncoding(String algName)
Returns valid encoding of EncryptedPrivateKeyInfo However encoded private
key field (encryptedData) does not contain valid encrypted data.
|
static byte[] |
getValidEncryptedPrivateKeyInfoEncoding(String algName) |
static byte[] |
getValidEncryptedPrivateKeyInfoEncoding(String algName,
boolean includingAlgParameters)
Returns valid encoding of EncryptedPrivateKeyInfo However encoded private
key field (encryptedData) does not contain valid encrypted data.
|
public static final byte[] encryptedData
public static final String[][] algName0
public static byte[] getValidEncryptedPrivateKeyInfoEncoding(String algName, boolean includingAlgParameters) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] getValidEncryptedPrivateKeyInfoEncoding(String algName) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static byte[] getParametersEncoding(String algName) throws NoSuchAlgorithmException
NoSuchAlgorithmException