Home
last modified time | relevance | path

Searched refs:mdName (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DOAEPParameterSpecTest.java47 String mdName = "SHA-1"; in testOAEPParameterSpec() local
60 new OAEPParameterSpec(mdName, null, mgfSpec, pSrc); in testOAEPParameterSpec()
67 new OAEPParameterSpec(mdName, mgfName, mgfSpec, null); in testOAEPParameterSpec()
74 + "OAEPParameterSpec.DEFAULT field should be " + mdName, in testOAEPParameterSpec()
75 OAEPParameterSpec.DEFAULT.getDigestAlgorithm().equals(mdName)); in testOAEPParameterSpec()
97 String mdName = "SHA-1"; in testGetDigestAlgorithm() local
102 OAEPParameterSpec ps = new OAEPParameterSpec(mdName, mgfName, in testGetDigestAlgorithm()
106 ps.getDigestAlgorithm().equals(mdName)); in testGetDigestAlgorithm()
113 String mdName = "SHA-1"; in testGetMGFAlgorithm() local
118 OAEPParameterSpec ps = new OAEPParameterSpec(mdName, mgfName, in testGetMGFAlgorithm()
[all …]
/libcore/ojluni/src/main/java/java/security/spec/
DMGF1ParameterSpec.java137 private String mdName; field in MGF1ParameterSpec
147 public MGF1ParameterSpec(String mdName) { in MGF1ParameterSpec() argument
148 if (mdName == null) { in MGF1ParameterSpec()
151 this.mdName = mdName; in MGF1ParameterSpec()
161 return mdName; in getDigestAlgorithm()
166 return "MGF1ParameterSpec[hashAlgorithm=" + mdName + "]"; in toString()
DPSSParameterSpec.java86 private final String mdName; field in PSSParameterSpec
137 public PSSParameterSpec(String mdName, String mgfName, in PSSParameterSpec() argument
139 Objects.requireNonNull(mdName, "digest algorithm is null"); in PSSParameterSpec()
150 this.mdName = mdName; in PSSParameterSpec()
178 return mdName; in getDigestAlgorithm()
224 sb.append("hashAlgorithm=" + mdName + ", ") in toString()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DOAEPParameterSpec.java79 private String mdName = "SHA-1"; field in OAEPParameterSpec
113 public OAEPParameterSpec(String mdName, String mgfName, in OAEPParameterSpec() argument
116 if (mdName == null) { in OAEPParameterSpec()
127 this.mdName = mdName; in OAEPParameterSpec()
139 return mdName; in getDigestAlgorithm()
/libcore/ojluni/src/main/java/sun/security/util/
DDerInputStream.java630 String mdName = "DerInputStream.getLength(): "; in getLength() local
644 throw new IOException(mdName + "lengthTag=" + tmp + ", " in getLength()
651 throw new IOException(mdName + "Redundant length bytes found"); in getLength()
658 throw new IOException(mdName + "Invalid length bytes"); in getLength()
660 throw new IOException(mdName + "Should use short form for length"); in getLength()
/libcore/ojluni/annotations/flagged_api/java/security/spec/
DPSSParameterSpec.annotated.java32 public PSSParameterSpec(java.lang.String mdName, java.lang.String mgfName, java.security.spec.Algor… in PSSParameterSpec() argument
DMGF1ParameterSpec.annotated.java32 public MGF1ParameterSpec(java.lang.String mdName) { throw new RuntimeException("Stub!"); } in MGF1ParameterSpec() argument