Home
last modified time | relevance | path

Searched refs:serverName (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/security/cert/
DLDAPCertStoreParameters.java64 private String serverName; field in LDAPCertStoreParameters
75 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters() argument
76 if (serverName == null) in LDAPCertStoreParameters()
78 this.serverName = serverName; in LDAPCertStoreParameters()
90 public LDAPCertStoreParameters(String serverName) { in LDAPCertStoreParameters() argument
91 this(serverName, LDAP_DEFAULT_PORT); in LDAPCertStoreParameters()
108 return serverName; in getServerName()
149 sb.append(" serverName: " + serverName + "\n"); in toString()
/libcore/luni/src/test/java/tests/security/cert/
DLDAPCertStoreParametersTest.java80 String serverName = "myhost"; in testLDAPCertStoreParametersString02() local
81 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(serverName); in testLDAPCertStoreParametersString02()
82 assertTrue("host", serverName.equals(cp.getServerName())); in testLDAPCertStoreParametersString02()
116 String serverName = "myhost"; in testLDAPCertStoreParametersStringint02() local
119 new LDAPCertStoreParameters(serverName, portNumber); in testLDAPCertStoreParametersStringint02()
120 assertTrue("host", serverName.equals(cp.getServerName())); in testLDAPCertStoreParametersStringint02()
136 String serverName = "myhost"; in testLDAPCertStoreParametersStringint03() local
140 new LDAPCertStoreParameters(serverName, portNumber[i]); in testLDAPCertStoreParametersStringint03()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java363 public boolean matches(SNIServerName serverName) { in matches() argument
364 if (serverName == null) { in matches()
370 if (!(serverName instanceof SNIHostName)) { in matches()
371 if (serverName.getType() != StandardConstants.SNI_HOST_NAME) { in matches()
377 hostname = new SNIHostName(serverName.getEncoded()); in matches()
382 hostname = (SNIHostName)serverName; in matches()
DSSLParameters.java300 for (SNIServerName serverName : serverNames) { in setServerNames()
301 if (sniNames.put(serverName.getType(), in setServerNames()
302 serverName) != null) { in setServerNames()
305 serverName.getType()); in setServerNames()
DSNIMatcher.java104 public abstract boolean matches(SNIServerName serverName); in matches() argument