Support class for EncryptedPrivateKeyInfo_ImplTest and EncryptedPrivateKeyInfo_Test
All binary data for these tests were generated using
BEA JRockit j2sdk1.4.2_04 (http://www.bea.com) with
security providers list extended by Bouncy Castle's one
(http://www.bouncycastle.org)
getParametersEncoding(String algName) Returns valid encoding of EncryptedPrivateKeyInfo However encoded private
key field (encryptedData) does not contain valid encrypted data.
public static byte[]
getValidEncryptedPrivateKeyInfoEncoding(String algName, boolean includingAlgParameters) Returns valid encoding of EncryptedPrivateKeyInfo However encoded private
key field (encryptedData) does not contain valid encrypted data.
Returns valid encoding of EncryptedPrivateKeyInfo However encoded private
key field (encryptedData) does not contain valid encrypted data.
throws: NoSuchAlgorithmException -
getValidEncryptedPrivateKeyInfoEncoding
public static byte[] getValidEncryptedPrivateKeyInfoEncoding(String algName, boolean includingAlgParameters) throws NoSuchAlgorithmException(Code)
Returns valid encoding of EncryptedPrivateKeyInfo However encoded private
key field (encryptedData) does not contain valid encrypted data.
throws: NoSuchAlgorithmException -