Searched defs:authority (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/security/cert/
H A DCertificateRevokedException.java65 * authority that signed the certificate's revocation status information
67 private final X500Principal authority; field in class:CertificateRevokedException
73 * the specified revocation date, reason code, authority name, and map
82 * @param authority the <code>X500Principal</code> that represents the name
83 * of the authority that signed the certificate's revocation status
86 * <code>reason</code>, <code>authority</code>, or
90 X500Principal authority, Map<String, Extension> extensions) {
91 if (revocationDate == null || reason == null || authority == null ||
97 this.authority = authority;
89 CertificateRevokedException(Date revocationDate, CRLReason reason, X500Principal authority, Map<String, Extension> extensions) argument
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DURLStreamHandler.java126 String authority = u.getAuthority();
159 // Parse the authority part if any
178 host = authority = spec.substring(start, i);
180 int ind = authority.indexOf('@');
182 userInfo = authority.substring(0, ind);
183 host = authority.substring(ind+1);
211 "Invalid authority field: " + authority);
216 "Invalid authority field: " + authority);
537 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
[all...]
H A DURL.java185 * The authority part of this URL.
188 private String authority; field in class:URL
399 authority = (port == -1) ? host : host + ":" + port;
445 * &lt;scheme&gt;://&lt;authority&gt;&lt;path&gt;?&lt;query&gt;#&lt;fragment&gt;
447 * The reference is parsed into the scheme, authority, path, query and
449 * authority, and query components are undefined, then the new URL is a
458 * If the authority component is present in the spec then the spec is
459 * treated as absolute and the spec authority and path will replace the
460 * context authority and path. If the authority componen
704 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
[all...]
H A DURI.java105 * [<i>scheme</i><tt><b>:</b></tt>][<tt><b>//</b></tt><i>authority</i>][<i>path</i>][<tt><b>?</b></tt><i>query</i>][<tt><b>#</b></tt><i>fragment</i>]
113 * <p> The authority component of a hierarchical URI is, if specified, either
114 * <i>server-based</i> or <i>registry-based</i>. A server-based authority
123 * authority component that does not parse in this way is considered to be
129 * specifies an authority is always absolute.
133 * <blockquote><table summary="Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment">
137 * <tr><td>authority</td><td><tt>String</tt></td></tr>
159 * authority component is present and is server-based then the host component
386 * slashes before an empty authority (as in <tt>file:///tmp/</tt>&nbsp;) or a
418 * if <i>u</i> is hierarchical and has either no authority o
483 private transient String authority; // Registry or server field in class:URI
738 URI(String scheme, String authority, String path, String query, String fragment) argument
1803 appendAuthority(StringBuffer sb, String authority, String userInfo, String host, int port) argument
1853 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
1901 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLStreamHandlerTest.java147 handler.setURL(url, "http", "localhost", 80, "authority",
225 String authority,
230 super.setURL(u, protocol, host, port, authority,
221 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DURLTest.java195 assertEquals("u11 returns a wrong authority", "", u11.getAuthority());
200 assertTrue("u12 returns a wrong authority", u12.getAuthority().equals(
1093 String authority, String userInfo, String file, String query,
1095 super.setURL(u, protocol, host, port, authority, userInfo,
1092 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String file, String query, String ref) argument
/libcore/ojluni/src/main/java/sun/net/www/
H A DParseUtil.java311 String authority,
317 authority, null, null, -1,
325 String authority,
339 authority, userInfo, host, port,
347 String authority,
376 appendAuthority(sb, authority, userInfo, host, port);
387 String authority,
408 } else if (authority != null) {
410 if (authority.startsWith("[")) {
411 int end = authority
310 createURI(String scheme, String authority, String path, String query, String fragment) argument
323 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
345 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
386 appendAuthority(StringBuffer sb, String authority, String userInfo, String host, int port) argument
[all...]

Completed in 1429 milliseconds