Home
last modified time | relevance | path

Searched refs:authority (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java66 private final X500Principal authority; field in CertificateRevokedException
89 X500Principal authority, Map<String, Extension> extensions) { in CertificateRevokedException() argument
90 if (revocationDate == null || reason == null || authority == null || in CertificateRevokedException()
96 this.authority = authority; in CertificateRevokedException()
131 return authority; in getAuthorityName()
178 + ", authority: " + authority + ", extension OIDs: " in getMessage()
/libcore/ojluni/src/main/java/java/net/
DURLStreamHandler.java125 String authority = u.getAuthority(); in parseURL() local
177 host = authority = spec.substring(start, i); in parseURL()
179 int ind = authority.indexOf('@'); in parseURL()
181 if (ind != authority.lastIndexOf('@')) { in parseURL()
186 userInfo = authority.substring(0, ind); in parseURL()
187 host = authority.substring(ind+1); in parseURL()
216 "Invalid authority field: " + authority); in parseURL()
221 "Invalid authority field: " + authority); in parseURL()
275 if (ind == -1 && authority != null) in parseURL()
281 String seperator = (authority != null) ? "/" : ""; in parseURL()
[all …]
DURI.java477 private transient String authority; // Registry or server field in URI
733 String authority, in URI() argument
738 authority, null, null, -1, in URI()
907 if ((host != null) || (authority == null)) in parseServerAuthority()
1177 return authority; in getRawAuthority()
1192 decodedAuthority = decode(authority); in getAuthority()
1427 if (this.authority == that.authority) return true; in equals()
1433 } else if (this.authority != null) { in equals()
1435 if (!equal(this.authority, that.authority)) return false; in equals()
1436 } else if (this.authority != that.authority) { in equals()
[all …]
DURL.java189 private String authority; field in URL
400 authority = (port == -1) ? host : host + ":" + port; in URL()
579 authority = context.authority; in URL()
673 authority = port == -1 ? host : host + ":" + port; in set()
706 String authority, String userInfo, String path, in set() argument
721 this.authority = authority; in set()
765 return authority; in getAuthority()
1283 if (authority == null && in readObject()
1287 authority = (port == -1) ? host : host + ":" + port; in readObject()
1295 } else if (authority != null) { in readObject()
[all …]
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java311 String authority, in createURI() argument
317 authority, null, null, -1, in createURI()
325 String authority, in toString() argument
339 authority, userInfo, host, port, in toString()
347 String authority, in appendSchemeSpecificPart() argument
376 appendAuthority(sb, authority, userInfo, host, port); in appendSchemeSpecificPart()
387 String authority, in appendAuthority() argument
408 } else if (authority != null) { in appendAuthority()
410 if (authority.startsWith("[")) { in appendAuthority()
411 int end = authority.indexOf("]"); in appendAuthority()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DOldURLStreamHandlerTest.java225 String authority, in setURL() argument
230 super.setURL(u, protocol, host, port, authority, in setURL()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java1093 String authority, String userInfo, String file, String query, in setURL() argument
1095 super.setURL(u, protocol, host, port, authority, userInfo, in setURL()