/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleInternalsTest.java | 32 Map<Character, String> extensions = new TreeMap<Character, String>(); in test_serializeExtensions() local 34 extensions.put('x', "fooo-baar-baaz"); in test_serializeExtensions() 35 assertEquals("x-fooo-baar-baaz", Locale.serializeExtensions(extensions)); in test_serializeExtensions() 37 extensions.put('y', "gaaa-caar-caaz"); in test_serializeExtensions() 40 Locale.serializeExtensions(extensions)); in test_serializeExtensions() 44 Map<Character, String> extensions = new HashMap<Character, String>(); in test_parseSerializedExtensions() local 46 Locale.parseSerializedExtensions("x-foo", extensions); in test_parseSerializedExtensions() 47 assertEquals("foo", extensions.get('x')); in test_parseSerializedExtensions() 49 extensions.clear(); in test_parseSerializedExtensions() 50 Locale.parseSerializedExtensions("x-foo-y-bar-z-baz", extensions); in test_parseSerializedExtensions() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | Extensions.java | 59 private final List<Extension> extensions; field in Extensions 82 this.extensions = null; in Extensions() 85 public Extensions(List<Extension> extensions) { in Extensions() argument 86 this.extensions = extensions; in Extensions() 90 return (extensions == null) ? 0 : extensions.size(); in size() 131 if (extensions == null) { in makeOidsLists() 134 int size = extensions.size(); in makeOidsLists() 138 for (Extension extension : extensions) { in makeOidsLists() 158 if (extensions == null) { in getExtensionByOID() 164 for (Extension extension : extensions) { in getExtensionByOID() [all …]
|
D | TBSCertificate.java | 84 private final Extensions extensions; field in TBSCertificate 93 Extensions extensions) { in TBSCertificate() argument 103 this.extensions = extensions; in TBSCertificate() 111 Extensions extensions, byte[] encoding) { in TBSCertificate() argument 113 subjectPublicKeyInfo, issuerUniqueID, subjectUniqueID, extensions); in TBSCertificate() 184 return extensions; in getExtensions() 220 if (extensions != null) { in dumpValue() 223 extensions.dumpValue(sb, " "); in dumpValue() 283 values[9] = tbs.extensions;
|
/libcore/luni/src/main/java/java/security/cert/ |
D | CertificateRevokedException.java | 47 private transient Map<String, Extension> extensions; field in CertificateRevokedException 56 X500Principal authority, Map<String, Extension> extensions) { in CertificateRevokedException() argument 60 this.extensions = extensions; in CertificateRevokedException() 74 return Collections.unmodifiableMap(extensions); in getExtensions() 82 if (extensions == null) { in getInvalidityDate() 86 Extension invalidityDateExtension = extensions.get("2.5.29.24"); in getInvalidityDate() 131 extensions = new HashMap<String, Extension>(size); in readObject() 138 extensions.put(oid, in readObject() 146 stream.writeInt(extensions.size()); in writeObject() 147 for (Extension e : extensions.values()) { in writeObject()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
D | TimeStampReq.java | 61 private final Extensions extensions; field in TimeStampReq 67 Extensions extensions) { in TimeStampReq() argument 73 this.extensions = extensions; in TimeStampReq() 78 Extensions extensions, byte [] encoding) { in TimeStampReq() argument 79 this (version, messageImprint, reqPolicy, nonce, certReq, extensions); in TimeStampReq() 97 res.append(extensions); in toString() 124 return extensions; in getExtensions() 209 values[5] = req.extensions;
|
D | TSTInfo.java | 84 private final Extensions extensions; field in TSTInfo 89 Extensions extensions) { in TSTInfo() argument 99 this.extensions = extensions; in TSTInfo() 127 res.append(extensions); in toString() 143 return extensions; in getExtensions() 296 values[9] = info.extensions;
|
/libcore/luni/src/main/java/java/util/ |
D | Locale.java | 312 private final Map<Character, String> extensions; field in Locale.Builder 323 extensions = new TreeMap<Character, String>(); in Builder() 568 extensions.clear(); in setLocale() 569 extensions.putAll(locale.extensions); in setLocale() 681 extensions.remove(key); in setExtension() 704 extensions.clear(); in setExtension() 709 extensions.put(key, normalizedValue); in setExtension() 722 extensions.clear(); in clearExtensions() 799 attributes, keywords, extensions, in build() 832 private transient Map<Character, String> extensions; field in Locale [all …]
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateRevocationExceptionTest.java | 39 HashMap<String, Extension> extensions = new HashMap<String, Extension>(); in getTestException() local 41 extensions.put("2.5.29.21", getReasonExtension()); in getTestException() 42 extensions.put("2.5.29.24", getInvalidityExtension()); in getTestException() 47 extensions); in getTestException() 103 Map<String, Extension> extensions = original.getExtensions(); 104 assertNotSame(extensions, original.getExtensions()); 107 extensions.put("2.2.2.2", getReasonExtension());
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | create.sh | 27 openssl x509 -extfile ${DIR}/default.cnf -days 3650 -extensions usr_cert -req -signkey ${DIR}/privk… 40 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions keyUsage_extraLo… 42 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions extendedKeyUsage… 44 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions ca_cert -req -si… 46 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions userWithPathLen_… 48 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions caWithPathLen_ce… 50 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions alt_other_cert -… 52 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions alt_email_cert -… 54 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions alt_dns_cert -re… 56 …/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions alt_dirname_cert… [all …]
|
D | default.cnf | 65 # X.509v3 extensions to use: 66 # extensions = 68 # X.509v3 extensions in its main [= default] section.) 143 req_extensions = v3_req # The extensions to add to a certificate request
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | ... extensions
public junit.extensions.RepeatedTest extends junit.extensions.TestDecorator {
private int fTimesRepeat
public void <init ... |
/libcore/luni/src/main/files/cacerts/ |
D | 0d69c7e1.0 | 35 X509v3 extensions:
|
D | ccc52f49.0 | 36 X509v3 extensions:
|
D | 89c02a45.0 | 40 X509v3 extensions:
|
D | c491639e.0 | 39 X509v3 extensions:
|
D | 2add47b6.0 | 38 X509v3 extensions:
|
D | 04f60c28.0 | 40 X509v3 extensions:
|
D | a7d2cf64.0 | 40 X509v3 extensions:
|
D | 27af790d.0 | 41 X509v3 extensions:
|
D | 5e4e69e7.0 | 45 X509v3 extensions:
|
D | c33a80d4.0 | 46 X509v3 extensions:
|
D | e7b8d656.0 | 41 X509v3 extensions:
|
D | ed39abd0.0 | 39 X509v3 extensions:
|
D | b3fb433b.0 | 42 X509v3 extensions:
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DeleteFunctionalityTest.java | 30 import junit.extensions.TestSetup;
|