Searched refs:addSubjectAlternativeName (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | DefaultHostnameVerifierTest.java | 63 .addSubjectAlternativeName(ALT_DNS_NAME, "imap.g.com"))); in testVerify_matchesAltNameButNotCommonName() 67 .addSubjectAlternativeName(ALT_DNS_NAME, "example.com"))); in testVerify_matchesAltNameButNotCommonName() 76 .addSubjectAlternativeName(ALT_DNS_NAME, "a.y.com"))); in testSubjectAltNameAndCn() 78 .addSubjectAlternativeName(ALT_DNS_NAME, "a.y.com"))); in testSubjectAltNameAndCn() 80 .addSubjectAlternativeName(ALT_DNS_NAME, "imap.g.com"))); in testSubjectAltNameAndCn() 97 .addSubjectAlternativeName(ALT_UNKNOWN, "random string 1") in testUnknownSubjectAltName() 98 .addSubjectAlternativeName(ALT_UNKNOWN, "random string 2") in testUnknownSubjectAltName() 99 .addSubjectAlternativeName(ALT_DNS_NAME, "a.b.c.d") in testUnknownSubjectAltName() 100 .addSubjectAlternativeName(ALT_DNS_NAME, "*.google.com") in testUnknownSubjectAltName() 101 .addSubjectAlternativeName(ALT_DNS_NAME, "imap.g.com") in testUnknownSubjectAltName() [all …]
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertSelectorTest.java | 33 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "127.0.0.1"); in testMatchIpv4SubjectAlternativeName() 44 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "::ffff:127.0.0.1"); in testMatchIpv4MappedSubjectAlternativeName() 56 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "::1"); in testMatchIpv6SubjectAlternativeName() 127 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "1::x"); in testMatchMalformedSubjectAlternativeName() 132 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "127.0.0.x"); in testMatchMalformedSubjectAlternativeName()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CertSelectorTest.java | 132 new X509CertSelector().addSubjectAlternativeName(types[i], in test_addSubjectAlternativeNameLintLbyte_array() 160 new X509CertSelector().addSubjectAlternativeName(types[i], in test_addSubjectAlternativeNameLintLjava_lang_String() 2096 selector.addSubjectAlternativeName(0, out0.toByteArray()); in test_addSubjectAlternativeNameLintLbyte_array2() 2100 selector.addSubjectAlternativeName(1, out1.toByteArray()); in test_addSubjectAlternativeNameLintLbyte_array2() 2104 selector.addSubjectAlternativeName(2, out2.toByteArray()); in test_addSubjectAlternativeNameLintLbyte_array2() 2120 selector.addSubjectAlternativeName(0, outputStream.toByteArray()); in test_addSubjectAlternativeNameLintLbyte_array2() 2139 selector.addSubjectAlternativeName(6, "http://uniform.Resource.Id"); in test_addSubjectAlternativeNameLintLjava_lang_String2() 2140 selector.addSubjectAlternativeName(2, "dNSName"); in test_addSubjectAlternativeNameLintLjava_lang_String2() 2155 selector.addSubjectAlternativeName(0, (name.toString())); in test_addSubjectAlternativeNameLintLjava_lang_String2()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CertSelector.java | 753 public void addSubjectAlternativeName(int type, String name) in addSubjectAlternativeName() method in X509CertSelector 797 public void addSubjectAlternativeName(int type, byte[] name) in addSubjectAlternativeName() method in X509CertSelector
|