Home
last modified time | relevance | path

Searched refs:extensions (Results 1 – 25 of 176) sorted by relevance

12345678

/libcore/luni/src/test/java/libcore/java/util/
DLocaleInternalsTest.java32 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/
DExtensions.java59 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 …]
DTBSCertificate.java84 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/
DCertificateRevokedException.java47 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/
DTimeStampReq.java61 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;
DTSTInfo.java84 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/
DLocale.java312 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/
DCertificateRevocationExceptionTest.java39 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/
Dcreate.sh27 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 …]
Ddefault.cnf65 # 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/
Djunit4-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/
D0d69c7e1.035 X509v3 extensions:
Dccc52f49.036 X509v3 extensions:
D89c02a45.040 X509v3 extensions:
Dc491639e.039 X509v3 extensions:
D2add47b6.038 X509v3 extensions:
D04f60c28.040 X509v3 extensions:
Da7d2cf64.040 X509v3 extensions:
D27af790d.041 X509v3 extensions:
D5e4e69e7.045 X509v3 extensions:
Dc33a80d4.046 X509v3 extensions:
De7b8d656.041 X509v3 extensions:
Ded39abd0.039 X509v3 extensions:
Db3fb433b.042 X509v3 extensions:
/libcore/luni/src/test/java/tests/java/sql/
DDeleteFunctionalityTest.java30 import junit.extensions.TestSetup;

12345678