Searched refs:GOOD_PARAMS (Results 1 - 3 of 3) sorted by relevance

/openjdk9/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/
H A DGetKeySpec.java42 private static AlgorithmParameters GOOD_PARAMS; field in class:GetKeySpec
48 GOOD_PARAMS = AlgorithmParameters.getInstance
50 GOOD_PARAMS.init(goodParamSpec);
53 GOOD_PARAMS = null;
98 if (GOOD_PARAMS == null) {
109 new EncryptedPrivateKeyInfo(GOOD_PARAMS, encryptedData);
119 cipher.init(Cipher.DECRYPT_MODE, cipherKey, GOOD_PARAMS);
H A DGetKeySpecInvalidEncoding.java44 private static AlgorithmParameters GOOD_PARAMS; field in class:GetKeySpecInvalidEncoding
50 GOOD_PARAMS = AlgorithmParameters.getInstance
52 GOOD_PARAMS.init(goodParamSpec);
55 GOOD_PARAMS = null;
99 if (GOOD_PARAMS == null) {
108 new EncryptedPrivateKeyInfo(GOOD_PARAMS, encryptedData);
118 cipher.init(Cipher.DECRYPT_MODE, cipherKey, GOOD_PARAMS);
H A DGetKeySpecException.java49 private static AlgorithmParameters GOOD_PARAMS; field in class:GetKeySpecException
60 GOOD_PARAMS = AlgorithmParameters.getInstance(cipherAlg, sunjce);
61 GOOD_PARAMS.init(goodParamSpec);
69 GOOD_PARAMS = null;
111 if ((GOOD_PARAMS == null) || (BAD_PARAMS == null)) {
122 new EncryptedPrivateKeyInfo(GOOD_PARAMS, encryptedData);

Completed in 34 milliseconds