Searched refs:mdName (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | OAEPParameterSpecTest.java | 47 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/ |
D | MGF1ParameterSpec.java | 137 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()
|
D | PSSParameterSpec.java | 86 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/ |
D | OAEPParameterSpec.java | 79 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/ |
D | DerInputStream.java | 630 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/ |
D | PSSParameterSpec.annotated.java | 32 public PSSParameterSpec(java.lang.String mdName, java.lang.String mgfName, java.security.spec.Algor… in PSSParameterSpec() argument
|
D | MGF1ParameterSpec.annotated.java | 32 public MGF1ParameterSpec(java.lang.String mdName) { throw new RuntimeException("Stub!"); } in MGF1ParameterSpec() argument
|