Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java68 private transient Map<String, Extension> extensions; field in CertificateRevokedException
89 X500Principal authority, Map<String, Extension> extensions) { in CertificateRevokedException() argument
91 extensions == null) { in CertificateRevokedException()
98 this.extensions = Collections.checkedMap(new HashMap<>(), in CertificateRevokedException()
100 this.extensions.putAll(extensions); in CertificateRevokedException()
171 return Collections.unmodifiableMap(extensions); in getExtensions()
179 + extensions.keySet(); in getMessage()
197 oos.writeInt(extensions.size()); in writeObject()
204 for (Map.Entry<String, Extension> entry : extensions.entrySet()) { in writeObject()
230 extensions = Collections.emptyMap(); in readObject()
[all …]
DPKIXRevocationChecker.java168 public void setOcspExtensions(List<Extension> extensions) in setOcspExtensions() argument
170 this.ocspExtensions = (extensions == null) in setOcspExtensions()
172 : new ArrayList<Extension>(extensions); in setOcspExtensions()
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CRLEntryImpl.java75 private CRLExtensions extensions = null; field in X509CRLEntryImpl
107 this.extensions = crlEntryExts; in X509CRLEntryImpl()
148 return (extensions != null); in hasExtensions()
171 if (extensions != null) in encode()
172 extensions.encode(tmp, isExplicit); in encode()
299 if (extensions != null) { in toString()
300 Collection<Extension> allEntryExts = extensions.getAllExtensions(); in toString()
336 if (extensions == null) in hasUnsupportedCriticalExtension()
338 return extensions.hasUnsupportedCriticalExtension(); in hasUnsupportedCriticalExtension()
350 if (extensions == null) { in getCriticalExtensionOIDs()
[all …]
DX509CertInfo.java97 protected CertificateExtensions extensions = null; field in X509CertInfo
316 if (extensions != null) { in toString()
317 Collection<Extension> allExts = extensions.getAllExtensions(); in toString()
342 Map<String,Extension> invalid = extensions.getUnparseableExtensions(); in toString()
438 if (extensions == null) in set()
439 extensions = new CertificateExtensions(); in set()
440 extensions.set(suffix, val); in set()
516 extensions = null; in delete()
518 if (extensions != null) in delete()
519 extensions.delete(suffix); in delete()
[all …]
DX509CRLImpl.java109 private CRLExtensions extensions = null; field in X509CRLImpl
253 this.extensions = crlExts; in X509CRLImpl()
317 if (extensions != null) in encodeInfo()
318 extensions.encode(tmp, isExplicit); in encodeInfo()
565 if (extensions != null) { in toString()
566 Collection<Extension> allExts = extensions.getAllExtensions(); in toString()
951 if (extensions == null) in hasUnsupportedCriticalExtension()
953 return extensions.hasUnsupportedCriticalExtension(); in hasUnsupportedCriticalExtension()
965 if (extensions == null) { in getCriticalExtensionOIDs()
969 for (Extension ex : extensions.getAllExtensions()) { in getCriticalExtensionOIDs()
[all …]
DX509CertImpl.java1351 CertificateExtensions extensions; in getExtension() local
1353 extensions = (CertificateExtensions)info.get(CertificateExtensions.NAME); in getExtension()
1357 if (extensions == null) { in getExtension()
1360 Extension ex = extensions.getExtension(oid.toString()); in getExtension()
1364 for (Extension ex2: extensions.getAllExtensions()) { in getExtension()
1383 CertificateExtensions extensions; in getUnparseableExtension() local
1385 extensions = (CertificateExtensions)info.get(CertificateExtensions.NAME); in getUnparseableExtension()
1389 if (extensions == null) { in getUnparseableExtension()
1392 return extensions.getUnparseableExtensions().get(oid.toString()); in getUnparseableExtension()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSPRequest.java84 private final List<Extension> extensions; field in OCSPRequest
97 this.extensions = Collections.<Extension>emptyList(); in OCSPRequest()
100 OCSPRequest(List<CertId> certIds, List<Extension> extensions) { in OCSPRequest() argument
102 this.extensions = extensions; in OCSPRequest()
117 if (!extensions.isEmpty()) { in encodeBytes()
119 for (Extension ext : extensions) { in encodeBytes()
DOCSP.java168 Date date, List<Extension> extensions) in check() argument
180 responderURI, issuerCert, responderCert, date, extensions); in check()
202 List<Extension> extensions) in check() argument
208 request = new OCSPRequest(certIds, extensions); in check()
/libcore/ojluni/src/main/java/sun/util/locale/
DInternalLocaleBuilder.java51 private Map<CaseInsensitiveChar, String> extensions; field in InternalLocaleBuilder
187 if (extensions != null && extensions.containsKey(key)) { in setExtension()
188 extensions.remove(key); in setExtension()
213 if (extensions == null) { in setExtension()
214 extensions = new HashMap<>(4); in setExtension()
216 extensions.put(key, val); in setExtension()
233 List<String> extensions = null; in setExtensions() local
264 if (extensions == null) { in setExtensions()
265 extensions = new ArrayList<>(4); in setExtensions()
267 extensions.add(sb.toString()); in setExtensions()
[all …]
DLanguageTag.java60 private List<String> extensions = Collections.emptyList(); // extensions field in LanguageTag
367 if (extensions.isEmpty()) { in parseExtensions()
368 extensions = new ArrayList<>(4); in parseExtensions()
370 extensions.add(sb.toString()); in parseExtensions()
495 List<String> extensions = null; in parseLocale() local
505 if (extensions == null) { in parseLocale()
506 extensions = new ArrayList<>(); in parseLocale()
508 extensions.add(locextKey.toString() + SEP + ext.getValue()); in parseLocale()
513 if (extensions != null) { in parseLocale()
514 tag.extensions = extensions; in parseLocale()
[all …]
DLocaleExtensions.java70 LocaleExtensions(Map<CaseInsensitiveChar, String> extensions, in LocaleExtensions() argument
73 boolean hasExtension = !LocaleUtils.isEmpty(extensions); in LocaleExtensions()
86 for (Entry<CaseInsensitiveChar, String> ext : extensions.entrySet()) { in LocaleExtensions()
/libcore/support/src/test/java/tests/resources/x509/
Dcreate.sh27 openssl x509 -extfile "$DIR/default.cnf" -days 3650 -extensions usr_cert -req -signkey "$DIR/privke…
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/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/ojluni/src/main/java/java/util/
DLocale.java705 private Locale(BaseLocale baseLocale, LocaleExtensions extensions) { in Locale() argument
707 this.localeExtensions = extensions; in Locale()
822 String variant, LocaleExtensions extensions) { in getInstance() argument
827 if (extensions == null) { in getInstance()
828 extensions = getCompatibilityExtensions(language, script, country, variant); in getInstance()
832 return getInstance(baseloc, extensions); in getInstance()
835 static Locale getInstance(BaseLocale baseloc, LocaleExtensions extensions) { in getInstance() argument
836 LocaleKey key = new LocaleKey(baseloc, extensions); in getInstance()
855 private LocaleKey(BaseLocale baseLocale, LocaleExtensions extensions) { in LocaleKey() argument
857 exts = extensions; in LocaleKey()
[all …]
/libcore/luni/src/test/java/libcore/libcore/content/type/
DMimeMapTest.java87 for (String extension : mimeMap.extensions()) { in caseNormalization_value()
307 @Test public void extensions() { in extensions() method in MimeMapTest
308 assertEquals(Collections.emptySet(), emptyMap.extensions()); in extensions()
315 Set<String> extensions = new HashSet<>(Arrays.asList( in extensions() local
317 assertEquals(extensions, mimeMap.extensions()); in extensions()
320 mimeMap.extensions().add("ext"); in extensions()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX509CertInfo.java107 sun.security.x509.X500Name subject, sun.security.x509.CertificateExtensions extensions) in verifyCert() argument
214 protected sun.security.x509.CertificateExtensions extensions; field in X509CertInfo
DX509CRLEntryImpl.java151 private sun.security.x509.CRLExtensions extensions; field in X509CRLEntryImpl
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java50 sun.util.locale.BaseLocale baseLocale, sun.util.locale.LocaleExtensions extensions) { in Locale() argument
82 sun.util.locale.LocaleExtensions extensions) { in getInstance() argument
88 sun.util.locale.BaseLocale baseloc, sun.util.locale.LocaleExtensions extensions) { in getInstance() argument
735 sun.util.locale.LocaleExtensions extensions) { in LocaleKey() argument
/libcore/luni/src/test/java/tests/java/sql/
DDeleteFunctionalityTest.java30 import junit.extensions.TestSetup;
DInsertFunctionalityTest.java28 import junit.extensions.TestSetup;
DUpdateFunctionalityTest2.java31 import junit.extensions.TestSetup;
DUpdateFunctionalityTest.java29 import junit.extensions.TestSetup;
/libcore/luni/src/main/java/libcore/icu/
DICU.java252 final String[] extensions = extensionsString.split(";"); in localeFromIcuLocaleId() local
253 for (String extension : extensions) { in localeFromIcuLocaleId()
/libcore/luni/src/main/java/libcore/content/type/
DMimeMap.java239 public @NonNull Set<String> extensions() { in extensions() method in MimeMap

12