/libcore/ojluni/src/main/java/java/security/spec/ |
D | MGF1ParameterSpec.java | 58 public class MGF1ParameterSpec implements AlgorithmParameterSpec { class 63 public static final MGF1ParameterSpec SHA1 = 64 new MGF1ParameterSpec("SHA-1"); 68 public static final MGF1ParameterSpec SHA256 = 69 new MGF1ParameterSpec("SHA-256"); 73 public static final MGF1ParameterSpec SHA384 = 74 new MGF1ParameterSpec("SHA-384"); 78 public static final MGF1ParameterSpec SHA512 = 79 new MGF1ParameterSpec("SHA-512"); 91 public MGF1ParameterSpec(String mdName) { in MGF1ParameterSpec() method in MGF1ParameterSpec
|
D | PSSParameterSpec.java | 29 import java.security.spec.MGF1ParameterSpec; 82 private AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1;
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | MGF1ParameterSpecTest.java | 27 import java.security.spec.MGF1ParameterSpec; 51 MGF1ParameterSpec pgf = new MGF1ParameterSpec(testAlgName); in testMGF1ParameterSpec01() 53 assertTrue(pgf instanceof MGF1ParameterSpec); in testMGF1ParameterSpec01() 65 new MGF1ParameterSpec(null); in testMGF1ParameterSpec02() 78 MGF1ParameterSpec aps = new MGF1ParameterSpec(testAlgName); in testGetDigestAlgorithm() 89 assertEquals("SHA-1", MGF1ParameterSpec.SHA1.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm() 90 assertEquals("SHA-256", MGF1ParameterSpec.SHA256.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm() 91 assertEquals("SHA-384", MGF1ParameterSpec.SHA384.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm() 92 assertEquals("SHA-512", MGF1ParameterSpec.SHA512.getDigestAlgorithm()); in testFieldsGetDigestAlgorithm()
|
D | PSSParameterSpecTest.java | 28 import java.security.spec.MGF1ParameterSpec; 71 MGF1ParameterSpec.SHA1, 20, 1); in testPSSParameterSpec0201() 86 new PSSParameterSpec(null, "MGF1", MGF1ParameterSpec.SHA1, 20, 1); in testPSSParameterSpec0202() 103 new PSSParameterSpec("SHA-1", null, MGF1ParameterSpec.SHA1, 20, 1); in testPSSParameterSpec0203() 121 MGF1ParameterSpec.SHA1, -20, 1); in testPSSParameterSpec0204() 139 MGF1ParameterSpec.SHA1, 20, -1); in testPSSParameterSpec0205() 163 MGF1ParameterSpec.SHA1, 20, 1); in testGetDigestAlgorithm() 173 MGF1ParameterSpec.SHA1, 20, 1); in testGetMGFAlgorithm() 183 MGF1ParameterSpec.SHA1, 20, 1); in testGetMGFParameters01() 184 assertTrue(MGF1ParameterSpec.SHA1.equals(pssps.getMGFParameters())); in testGetMGFParameters01() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | OAEPParameterSpecTest.java | 25 import java.security.spec.MGF1ParameterSpec; 49 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testOAEPParameterSpec() 85 == MGF1ParameterSpec.SHA1); in testOAEPParameterSpec() 99 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetDigestAlgorithm() 115 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetMGFAlgorithm() 131 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetMGFParameters() 147 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetPSource()
|
/libcore/luni/src/test/java/libcore/java/security/spec/ |
D | AlgorithmParametersPSSTest.java | 23 import java.security.spec.MGF1ParameterSpec; 43 new PSSParameterSpec("SHA-512", "MGF1", MGF1ParameterSpec.SHA384, 27, 3); 50 new PSSParameterSpec("SHA-224", "MGF1", MGF1ParameterSpec.SHA256, 32, 1); 192 if (!(spec1MgfParams instanceof MGF1ParameterSpec)) { in assertPSSParameterSpecEquals() 195 MGF1ParameterSpec spec1Mgf1Params = (MGF1ParameterSpec) spec1MgfParams; in assertPSSParameterSpecEquals() 198 if (!(spec2MgfParams instanceof MGF1ParameterSpec)) { in assertPSSParameterSpecEquals() 201 MGF1ParameterSpec spec2Mgf1Params = (MGF1ParameterSpec) spec2MgfParams; in assertPSSParameterSpecEquals()
|
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
D | AlgorithmParametersTestOAEP.java | 18 import java.security.spec.MGF1ParameterSpec; 27 …eterAsymmetricHelper("RSA"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSourc… in AlgorithmParametersTestOAEP()
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | OAEPParameterSpec.java | 30 import java.security.spec.MGF1ParameterSpec; 81 private AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1;
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SignatureTest.java | 48 import java.security.spec.MGF1ParameterSpec; 974 new PSSParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, 20, 1); 1028 new PSSParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, 0, 1); 1082 new PSSParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, 234, 1); 1136 new PSSParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), 28, 1); 1190 new PSSParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), 0, 1); 1244 new PSSParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), 226, 1); 1298 new PSSParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, 32, 1); 1352 new PSSParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, 0, 1); 1406 new PSSParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, 222, 1); [all …]
|
/libcore/ |
D | openjdk_java_files.mk | 557 ojluni/src/main/java/java/security/spec/MGF1ParameterSpec.java \
|