/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertificateRevokedException.java | 69 private transient Map<String, Extension> extensions; field in CertificateRevokedException 90 X500Principal authority, Map<String, Extension> extensions) { in CertificateRevokedException() argument 92 extensions == null) { in CertificateRevokedException() 98 this.extensions = new HashMap(extensions); in CertificateRevokedException() 170 return Collections.unmodifiableMap(extensions); in getExtensions() 177 + ", authority: " + authority + ", extensions: " + extensions; in getMessage() 195 oos.writeInt(extensions.size()); in writeObject() 202 for (Map.Entry<String, Extension> entry : extensions.entrySet()) { in writeObject() 228 extensions = Collections.emptyMap(); in readObject() 230 extensions = new HashMap<String, Extension>(size); in readObject() [all …]
|
D | PKIXRevocationChecker.java | 162 public void setOcspExtensions(List<Extension> extensions) in setOcspExtensions() argument 164 this.ocspExtensions = (extensions == null) in setOcspExtensions() 166 : new ArrayList<Extension>(extensions); in setOcspExtensions()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CRLEntryImpl.java | 77 private CRLExtensions extensions = null; field in X509CRLEntryImpl 109 this.extensions = crlEntryExts; in X509CRLEntryImpl() 150 return (extensions != null); in hasExtensions() 173 if (extensions != null) in encode() 174 extensions.encode(tmp, isExplicit); in encode() 301 if (extensions != null) { in toString() 302 Collection allEntryExts = extensions.getAllExtensions(); in toString() 338 if (extensions == null) in hasUnsupportedCriticalExtension() 340 return extensions.hasUnsupportedCriticalExtension(); in hasUnsupportedCriticalExtension() 352 if (extensions == null) { in getCriticalExtensionOIDs() [all …]
|
D | X509CertInfo.java | 97 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 …]
|
D | X509CRLImpl.java | 109 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() 504 if (extensions != null) { in toString() 505 Collection<Extension> allExts = extensions.getAllExtensions(); in toString() 893 if (extensions == null) in hasUnsupportedCriticalExtension() 895 return extensions.hasUnsupportedCriticalExtension(); in hasUnsupportedCriticalExtension() 907 if (extensions == null) { in getCriticalExtensionOIDs() 911 for (Extension ex : extensions.getAllExtensions()) { in getCriticalExtensionOIDs() [all …]
|
D | X509CertImpl.java | 1355 CertificateExtensions extensions; in getExtension() local 1357 extensions = (CertificateExtensions)info.get(CertificateExtensions.NAME); in getExtension() 1361 if (extensions == null) { in getExtension() 1364 Extension ex = extensions.getExtension(oid.toString()); in getExtension() 1368 for (Extension ex2: extensions.getAllExtensions()) { in getExtension() 1387 CertificateExtensions extensions; in getUnparseableExtension() local 1389 extensions = (CertificateExtensions)info.get(CertificateExtensions.NAME); in getUnparseableExtension() 1393 if (extensions == null) { in getUnparseableExtension() 1396 return extensions.getUnparseableExtensions().get(oid.toString()); in getUnparseableExtension()
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
D | ClientHello.java | 41 public List<HelloExtension> extensions; field in ClientHello 70 extensions = new ArrayList<HelloExtension>(); in parseBody() 77 extensions.add(HelloExtension.read(extensionsDataIn)); in parseBody() 80 "Failed to read HelloExtension #" + (extensions.size() + 1)); in parseBody() 87 if (extensions == null) { in findExtensionByType() 90 for (HelloExtension extension : extensions) { in findExtensionByType() 105 + ((extensions != null) ? (", extensions: " + String.valueOf(extensions)) : "") in toString()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSPRequest.java | 84 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()
|
D | OCSP.java | 168 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/ |
D | InternalLocaleBuilder.java | 51 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 …]
|
D | LanguageTag.java | 60 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 …]
|
D | LocaleExtensions.java | 70 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/ |
D | create.sh | 27 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 …]
|
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/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/ojluni/src/main/java/sun/security/ssl/ |
D | HelloExtensions.java | 64 private List<HelloExtension> extensions; field in HelloExtensions 68 extensions = Collections.emptyList(); in HelloExtensions() 73 extensions = new ArrayList<HelloExtension>(); in HelloExtensions() 94 extensions.add(extension); in HelloExtensions() 105 return extensions; in list() 109 if (extensions.isEmpty()) { in add() 110 extensions = new ArrayList<HelloExtension>(); in add() 112 extensions.add(ext); in add() 117 for (HelloExtension ext : extensions) { in get() 129 if (extensions.isEmpty()) { in length() [all …]
|
D | HandshakeMessage.java | 218 HelloExtensions extensions = new HelloExtensions(); field in HandshakeMessage.ClientHello 230 extensions.add(SupportedEllipticCurvesExtension.DEFAULT); in ClientHello() 231 extensions.add(SupportedEllipticPointFormatsExtension.DEFAULT); in ClientHello() 245 extensions = new HelloExtensions(s); in ClientHello() 257 extensions.add(renegotiationInfo); in addRenegotiationInfoExtension() 267 extensions.add(new ServerNameExtension(hostnames)); in addServerNameIndicationExtension() 278 extensions.add(signatureAlgorithm); in addSignatureAlgorithmsExtension() 294 + extensions.length(); in messageLength() 305 extensions.send(s); in send() 322 extensions.print(s); in print() [all …]
|
D | ServerHandshaker.java | 304 mesg.extensions.get(ExtensionType.EXT_RENEGOTIATION_INFO); in clientHello() 575 mesg.extensions.get(ExtensionType.EXT_ELLIPTIC_CURVES); in clientHello() 581 (SignatureAlgorithmsExtension)mesg.extensions.get( in clientHello() 656 m1.extensions.add(serverHelloRI); in clientHello()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 619 private Locale(BaseLocale baseLocale, LocaleExtensions extensions) { in Locale() argument 621 this.localeExtensions = extensions; in Locale() 736 String variant, LocaleExtensions extensions) { in getInstance() argument 741 if (extensions == null) { in getInstance() 742 extensions = getCompatibilityExtensions(language, script, country, variant); in getInstance() 746 return getInstance(baseloc, extensions); in getInstance() 749 static Locale getInstance(BaseLocale baseloc, LocaleExtensions extensions) { in getInstance() argument 750 LocaleKey key = new LocaleKey(baseloc, extensions); in getInstance() 769 private LocaleKey(BaseLocale baseLocale, LocaleExtensions extensions) { in LocaleKey() argument 771 exts = extensions; in LocaleKey() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | MimeEntry.java | 312 String extensions = getExtensionsAsList(); in toProperty() local 313 if (extensions.length() > 0) { in toProperty() 317 buf.append("file_extensions=" + extensions); in toProperty()
|
D | MimeTable.java | 369 String[] extensions = new String[n]; 371 extensions[i] = tokenizer.nextToken(); 374 return extensions;
|
/libcore/ojluni/src/main/java/sun/util/ |
D | LocaleServiceProviderPool.java | 491 Set<Character> extensions = locale.getExtensionKeys(); in getLookupLocale() local 492 if (!extensions.isEmpty() in getLookupLocale()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DeleteFunctionalityTest.java | 30 import junit.extensions.TestSetup;
|
D | InsertFunctionalityTest.java | 28 import junit.extensions.TestSetup;
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 191 final String[] extensions = extensionsString.split(";"); in localeFromIcuLocaleId() local 192 for (String extension : extensions) { in localeFromIcuLocaleId()
|