Searched refs:ipAddress (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/cert/
H A DSubjectAlternativeNameTest.java47 byte[] ipAddress = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
48 String decoded = formatIpAddress(ipAddress);
52 private String formatIpAddress(byte[] ipAddress) throws Exception { argument
54 .addSubjectAltNameIpAddress(ipAddress)
H A DX509CertSelectorTest.java116 private X509Certificate newCertWithSubjectAltNameIpAddress(byte[] ipAddress) throws Exception { argument
118 .addSubjectAltNameIpAddress(ipAddress)
/libcore/luni/src/main/java/java/net/
H A DInetAddress.java743 * Equivalent to {@code getByAddress(null, ipAddress)}. Handy for addresses with
746 public static InetAddress getByAddress(byte[] ipAddress) throws UnknownHostException { argument
747 return getByAddress(null, ipAddress, 0);
752 * bytes {@code ipAddress} and {@code scopeId}.
764 * @throws UnknownHostException if {@code ipAddress} is null or the wrong length.
766 public static InetAddress getByAddress(String hostName, byte[] ipAddress) throws UnknownHostException { argument
767 return getByAddress(hostName, ipAddress, 0);
770 private static InetAddress getByAddress(String hostName, byte[] ipAddress, int scopeId) throws UnknownHostException { argument
771 if (ipAddress == null) {
772 throw new UnknownHostException("ipAddress
794 isIPv4MappedAddress(byte[] ipAddress) argument
[all...]
/libcore/luni/src/main/java/javax/net/ssl/
H A DDefaultHostnameVerifier.java57 * Returns true if {@code certificate} matches {@code ipAddress}.
59 private boolean verifyIpAddress(String ipAddress, X509Certificate certificate) { argument
61 if (ipAddress.equalsIgnoreCase(altName)) {
/libcore/support/src/test/java/libcore/java/security/
H A DTestKeyStore.java320 public Builder addSubjectAltNameIpAddress(byte[] ipAddress) { argument
322 new GeneralName(GeneralName.iPAddress, new DEROctetString(ipAddress)));
334 public Builder addNameConstraint(boolean permitted, byte[] ipAddress) { argument
336 new GeneralName(GeneralName.iPAddress, new DEROctetString(ipAddress)));

Completed in 251 milliseconds