/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | MimeTypesFileTypeDetector.java | 44 String ext = getExtension(fn.toString()); in implProbeContentType() 45 if (ext.isEmpty()) in implProbeContentType() 51 mimeType = MimeUtils.guessMimeTypeFromExtension(ext); in implProbeContentType() 53 ext = getExtension(ext); in implProbeContentType() 54 } while (mimeType == null && !ext.isEmpty()); in implProbeContentType() 61 String ext = ""; in getExtension() local 65 ext = name.substring(dot + 1); in getExtension() 68 return ext; in getExtension()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleExtensions.java | 86 for (Entry<CaseInsensitiveChar, String> ext : extensions.entrySet()) { in LocaleExtensions() 87 char key = LocaleUtils.toLower(ext.getKey().value()); in LocaleExtensions() 88 String value = ext.getValue(); in LocaleExtensions() 148 Extension ext = extensionMap.get(LocaleUtils.toLower(key)); in getExtensionValue() local 149 if (ext == null) { in getExtensionValue() 152 return ext.getValue(); in getExtensionValue() 156 Extension ext = extensionMap.get(UnicodeLocaleExtension.SINGLETON); in getUnicodeLocaleAttributes() local 157 if (ext == null) { in getUnicodeLocaleAttributes() 160 assert (ext instanceof UnicodeLocaleExtension); in getUnicodeLocaleAttributes() 161 return ((UnicodeLocaleExtension)ext).getUnicodeLocaleAttributes(); in getUnicodeLocaleAttributes() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CertificateExtensions.java | 87 Extension ext = new Extension(exts[i]); in init() local 88 parseExtension(ext); in init() 95 private void parseExtension(Extension ext) throws IOException { in parseExtension() argument 97 Class<?> extClass = OIDMap.getClass(ext.getExtensionId()); in parseExtension() 99 if (ext.isCritical()) { in parseExtension() 102 if (map.put(ext.getExtensionId().toString(), ext) == null) { in parseExtension() 110 Object[] passed = new Object[] {Boolean.valueOf(ext.isCritical()), in parseExtension() 111 ext.getExtensionValue()}; in parseExtension() 119 if (ext.isCritical() == false) { in parseExtension() 124 unparseableExtensions.put(ext.getExtensionId().toString(), in parseExtension() [all …]
|
D | Extension.java | 120 public Extension(Extension ext) { in Extension() argument 121 this.extensionId = ext.extensionId; in Extension() 122 this.critical = ext.critical; in Extension() 123 this.extensionValue = ext.extensionValue; in Extension() 137 Extension ext = new Extension(); in newExtension() local 138 ext.extensionId = extensionId; in newExtension() 139 ext.critical = critical; in newExtension() 140 ext.extensionValue = rawExtensionValue; in newExtension() 141 return ext; in newExtension()
|
D | CRLExtensions.java | 101 Extension ext = new Extension(exts[i]); in init() local 102 parseExtension(ext); in init() 112 private void parseExtension(Extension ext) throws CRLException { in parseExtension() argument 114 Class<?> extClass = OIDMap.getClass(ext.getExtensionId()); in parseExtension() 116 if (ext.isCritical()) in parseExtension() 118 if (map.put(ext.getExtensionId().toString(), ext) != null) in parseExtension() 123 Object[] passed = new Object[] {Boolean.valueOf(ext.isCritical()), in parseExtension() 124 ext.getExtensionValue()}; in parseExtension()
|
D | X509CRLEntryImpl.java | 242 Extension ext = getExtension(PKIXExtensions.ReasonCode_Id); in getRevocationReason() local 243 if (ext == null) { in getRevocationReason() 246 CRLReasonCodeExtension rcExt = (CRLReasonCodeExtension) ext; in getRevocationReason() 256 byte[] ext = crlEntry.getExtensionValue("2.5.29.21"); in getRevocationReason() 257 if (ext == null) { in getRevocationReason() 260 DerValue val = new DerValue(ext); in getRevocationReason() 306 Extension ext = exts[i]; in toString() local 308 if (OIDMap.getClass(ext.getExtensionId()) == null) { in toString() 309 sb.append(ext.toString()); in toString() 310 byte[] extValue = ext.getExtensionValue(); in toString() [all …]
|
D | InvalidityDateExtension.java | 210 public static InvalidityDateExtension toImpl(java.security.cert.Extension ext) in toImpl() argument 212 if (ext instanceof InvalidityDateExtension) { in toImpl() 213 return (InvalidityDateExtension) ext; in toImpl() 216 (Boolean.valueOf(ext.isCritical()), ext.getValue()); in toImpl()
|
D | X509CertInfo.java | 322 Extension ext = exts[i]; in toString() local 324 if (OIDMap.getClass(ext.getExtensionId()) == null) { in toString() 325 sb.append(ext.toString()); in toString() 326 byte[] extValue = ext.getExtensionValue(); in toString() 337 sb.append(ext.toString()); //sub-class exists in toString() 346 for (Extension ext : invalid.values()) { in toString() 348 sb.append(ext); in toString()
|
D | X509CertImpl.java | 1491 ExtendedKeyUsageExtension ext = getExtendedKeyUsageExtension(); in getExtendedKeyUsage() local 1492 if (ext == null) { in getExtendedKeyUsage() 1496 Collections.unmodifiableList(ext.getExtendedKeyUsage()); in getExtendedKeyUsage() 1510 byte[] ext = cert.getExtensionValue(EXTENDED_KEY_USAGE_OID); in getExtendedKeyUsage() 1511 if (ext == null) in getExtendedKeyUsage() 1513 DerValue val = new DerValue(ext); in getExtendedKeyUsage() 1680 byte[] ext = cert.getExtensionValue(SUBJECT_ALT_NAME_OID); in getSubjectAlternativeNames() 1681 if (ext == null) { in getSubjectAlternativeNames() 1684 DerValue val = new DerValue(ext); in getSubjectAlternativeNames() 1743 byte[] ext = cert.getExtensionValue(ISSUER_ALT_NAME_OID); in getIssuerAlternativeNames() [all …]
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertificateRevokedException.java | 148 Extension ext = getExtensions().get("2.5.29.24"); in getInvalidityDate() local 149 if (ext == null) { in getInvalidityDate() 153 Date invalidity = InvalidityDateExtension.toImpl(ext).get("DATE"); in getInvalidityDate() 205 Extension ext = entry.getValue(); in writeObject() local 206 oos.writeObject(ext.getId()); in writeObject() 207 oos.writeBoolean(ext.isCritical()); in writeObject() 208 byte[] extVal = ext.getValue(); in writeObject() 242 Extension ext = sun.security.x509.Extension.newExtension in readObject() local 244 extensions.put(oid, ext); in readObject()
|
D | X509CertSelector.java | 2173 PrivateKeyUsageExtension ext = null; in matchPrivateKeyValid() local 2175 ext = (PrivateKeyUsageExtension) in matchPrivateKeyValid() 2177 if (ext != null) { in matchPrivateKeyValid() 2178 ext.valid(privateKeyValid); in matchPrivateKeyValid() 2184 Date notAfter = ext.get(PrivateKeyUsageExtension.NOT_AFTER); in matchPrivateKeyValid() 2200 Date notBefore = ext.get(PrivateKeyUsageExtension.NOT_BEFORE); in matchPrivateKeyValid() 2286 ExtendedKeyUsageExtension ext = in matchExtendedKeyUsage() local 2289 if (ext != null) { in matchExtendedKeyUsage() 2291 ext.get(ExtendedKeyUsageExtension.USAGES); in matchExtendedKeyUsage() 2387 CertificatePoliciesExtension ext = (CertificatePoliciesExtension) in matchPolicy() local [all …]
|
/libcore/luni/src/main/java/java/net/ |
D | DefaultFileNameMap.java | 36 String ext = ""; in getContentTypeFor() local 38 ext = filename.substring(firstCharInExtension, lastCharInExtension); in getContentTypeFor() 40 return MimeUtils.guessMimeTypeFromExtension(ext); in getContentTypeFor()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSPRequest.java | 119 for (Extension ext : extensions) { in encodeBytes() 120 ext.encode(extOut); in encodeBytes() 121 if (ext.getId().equals(OCSP.NONCE_EXTENSION_OID.toString())) { in encodeBytes() 122 nonce = ext.getValue(); in encodeBytes()
|
D | AdaptableX509CertSelector.java | 125 void setSkiAndSerialNumber(AuthorityKeyIdentifierExtension ext) in setSkiAndSerialNumber() argument 131 if (ext != null) { in setSkiAndSerialNumber() 132 ski = ext.getEncodedKeyIdentifier(); in setSkiAndSerialNumber() 133 SerialNumber asn = (SerialNumber)ext.get( in setSkiAndSerialNumber()
|
D | OCSPResponse.java | 336 Extension ext = new Extension(responseExtDer[i]); in OCSPResponse() local 338 debug.println("OCSP extension: " + ext); in OCSPResponse() 341 if (ext.getExtensionId().equals((Object) in OCSPResponse() 344 nonce = ext.getExtensionValue(); in OCSPResponse() 345 } else if (ext.isCritical()) { in OCSPResponse() 348 ext.getExtensionId()); in OCSPResponse() 768 Extension ext = new Extension(singleExtDer[i]); in SingleResponse() local 770 debug.println("OCSP single extension: " + ext); in SingleResponse() 775 if (ext.isCritical()) { in SingleResponse() 778 ext.getExtensionId()); in SingleResponse() [all …]
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
D | Locator2.java | 6 package org.xml.sax.ext;
|
D | Attributes2.java | 6 package org.xml.sax.ext;
|
D | LexicalHandler.java | 6 package org.xml.sax.ext;
|
D | DeclHandler.java | 6 package org.xml.sax.ext;
|
D | EntityResolver2.java | 6 package org.xml.sax.ext;
|
D | Locator2Impl.java | 6 package org.xml.sax.ext;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
D | DefaultHandler2Test.java | 17 package org.apache.harmony.tests.org.xml.sax.ext; 22 import org.xml.sax.ext.DefaultHandler2;
|
D | Locator2ImplTest.java | 17 package org.apache.harmony.tests.org.xml.sax.ext; 22 import org.xml.sax.ext.Locator2Impl;
|
/libcore/luni/src/main/java/javax/xml/transform/sax/ |
D | TransformerHandler.java | 26 import org.xml.sax.ext.LexicalHandler;
|
D | SAXResult.java | 24 import org.xml.sax.ext.LexicalHandler;
|