Searched refs:DEFAULT (Results 1 - 14 of 14) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1TypeCollection.java37 public final Object[] DEFAULT; field in class:ASN1TypeCollection
50 this.DEFAULT = new Object[type.length];
71 DEFAULT[index] = object;
H A DBerInputStream.java549 if (sequence.DEFAULT[i] != null) {
550 values[i] = sequence.DEFAULT[i];
562 if (sequence.DEFAULT[i] != null) {
563 values[i] = sequence.DEFAULT[i];
H A DDerOutputStream.java171 if (Objects.equal(sequence.DEFAULT[i], values[i])) {
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DOAEPParameterSpecTest.java43 * the value of DEFAULT field.
46 // using init values for OAEPParameterSpec.DEFAULT
50 PSource pSrc = PSource.PSpecified.DEFAULT;
74 + "OAEPParameterSpec.DEFAULT field should be " + mdName,
75 OAEPParameterSpec.DEFAULT.getDigestAlgorithm().equals(mdName));
78 + "OAEPParameterSpec.DEFAULT field should be " + mgfName,
79 OAEPParameterSpec.DEFAULT.getMGFAlgorithm().equals(mgfName));
82 + "OAEPParameterSpec.DEFAULT field should be the same object "
84 OAEPParameterSpec.DEFAULT.getMGFParameters()
87 + "OAEPParameterSpec.DEFAULT fiel
[all...]
H A DPSourceTest.java39 * DEFAULT field, and that input p array is copied to protect against
50 assertEquals("The PSource.PSpecified DEFAULT value should be byte[0]",
51 0, PSource.PSpecified.DEFAULT.getValue().length);
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
H A DAlgorithmParametersTestOAEP.java27 super("OAEP", new AlgorithmParameterAsymmetricHelper("RSA"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT));
/libcore/luni/src/test/java/tests/security/spec/
H A DPSSParameterSpecTest.java220 * Test for <code>DEFAULT</code> field<br>
224 assertEquals("SHA-1", PSSParameterSpec.DEFAULT.getDigestAlgorithm());
228 * Test for <code>DEFAULT</code> field<br>
232 assertEquals("MGF1", PSSParameterSpec.DEFAULT.getMGFAlgorithm());
236 * Test for <code>DEFAULT</code> field<br>
241 assertTrue(MGF1ParameterSpec.SHA1.equals(PSSParameterSpec.DEFAULT.getMGFParameters()));
245 * Test for <code>DEFAULT</code> field<br>
249 assertEquals(20, PSSParameterSpec.DEFAULT.getSaltLength());
253 * Test for <code>DEFAULT</code> field<br>
257 assertEquals(1, PSSParameterSpec.DEFAULT
[all...]
/libcore/luni/src/main/java/javax/crypto/spec/
H A DOAEPParameterSpec.java43 * <li>the source of the label <code>L</code>: {@link PSource.PSpecified#DEFAULT}</li>
46 public static final OAEPParameterSpec DEFAULT = new OAEPParameterSpec(); field in class:OAEPParameterSpec
52 this.pSrc = PSource.PSpecified.DEFAULT;
H A DPSource.java69 public static final PSpecified DEFAULT = new PSpecified(); field in class:PSource.PSpecified
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLContext.java43 private static SSLContext DEFAULT; field in class:SSLContext
59 if (DEFAULT == null) {
60 DEFAULT = SSLContext.getInstance("Default");
62 return DEFAULT;
78 DEFAULT = sslContext;
/libcore/luni/src/main/java/java/text/
H A DDateFormat.java146 public static final int DEFAULT = 2; field in class:DateFormat
417 * the DEFAULT style for the default locale.
422 return getDateInstance(DEFAULT);
430 * one of SHORT, MEDIUM, LONG, FULL, or DEFAULT.
435 * DEFAULT.
447 * one of SHORT, MEDIUM, LONG, FULL, or DEFAULT.
452 * DEFAULT.
463 * and time values in the DEFAULT style for the default locale.
468 return getDateTimeInstance(DEFAULT, DEFAULT);
[all...]
H A DMessageFormat.java168 * <td>{@code DateFormat.getDateInstance(DateFormat.DEFAULT, getLocale())}</td>
176 * <td>{@code DateFormat.getDateInstance(DateFormat.DEFAULT, getLocale())}</td>
193 * <td>{@code DateFormat.getTimeInstance(DateFormat.DEFAULT, getLocale())}</td>
201 * <td>{@code DateFormat.getTimeInstance(DateFormat.DEFAULT, getLocale())}</td>
978 DateFormat.DEFAULT, locale) : DateFormat
979 .getTimeInstance(DateFormat.DEFAULT, locale);
1110 if (format.equals(DateFormat.getTimeInstance(DateFormat.DEFAULT, locale))) {
1112 } else if (format.equals(DateFormat.getDateInstance(DateFormat.DEFAULT,
/libcore/luni/src/main/java/java/security/spec/
H A DPSSParameterSpec.java39 public static final PSSParameterSpec DEFAULT = new PSSParameterSpec(20); field in class:PSSParameterSpec
/libcore/luni/src/test/java/libcore/java/text/
H A DOldDateFormatTest.java250 format = DateFormat.getDateInstance(DateFormat.DEFAULT, Locale.US);
306 format = DateFormat.getTimeInstance(DateFormat.DEFAULT, Locale.US);
325 format = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.SHORT, Locale.US);

Completed in 943 milliseconds