- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 43 for X509Certificate (0.28 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes; import java.io.IOException; import java.security.cert.X509Certificate; import okhttp3.Headers; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import okhttp3.tls.Certificates; import okhttp3.tls.HandshakeCertificates;
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 9.3K bytes - Viewed (2) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
import java.security.Principal import java.security.cert.Certificate import javax.net.ssl.SSLPeerUnverifiedException import javax.net.ssl.SSLSession import javax.net.ssl.SSLSessionContext import javax.security.cert.X509Certificate class FakeSSLSession(vararg val certificates: Certificate) : SSLSession { override fun getApplicationBufferSize(): Int { throw UnsupportedOperationException() } override fun getCipherSuite(): String {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/CertificatesJavaTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls; import java.security.cert.X509Certificate; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class CertificatesJavaTest { @Test public void testRoundtrip() { String certificateString = ""
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Nov 20 02:23:18 GMT 2020 - 1.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
override fun checkClientTrusted( x509Certificates: Array<X509Certificate>, s: String, ) { } override fun checkServerTrusted( x509Certificates: Array<X509Certificate>, s: String, ) { } override fun getAcceptedIssuers(): Array<X509Certificate> { return arrayOf() } } client =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 18.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes.kt import java.io.IOException import java.security.cert.X509Certificate import okhttp3.OkHttpClient import okhttp3.Request.Builder import okhttp3.tls.HandshakeCertificates import okhttp3.tls.decodeCertificatePem class CustomTrust {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.8K bytes - Viewed (5) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
assertThat("www.nintendo.co.jp".canParseAsIpAddress()).isFalse() } private fun certificate(certificate: String): X509Certificate { return CertificateFactory.getInstance("X.509") .generateCertificate(ByteArrayInputStream(certificate.toByteArray())) as X509Certificate } private fun session(certificate: String): SSLSession = FakeSSLSession(certificate(certificate))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 40.3K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
* limitations under the License. */ package okhttp.android.test.letsencrypt import android.os.Build import assertk.assertThat import assertk.assertions.isEqualTo import java.security.cert.X509Certificate import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request import okhttp3.tls.HandshakeCertificates import okhttp3.tls.decodeCertificatePem import org.junit.jupiter.api.Tag
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
* limitations under the License. */ package okhttp3.internal.platform import java.security.KeyStore import java.security.Provider import java.security.cert.X509Certificate import javax.net.ssl.SSLContext import javax.net.ssl.SSLSession import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import javax.net.ssl.TrustManager import javax.net.ssl.TrustManagerFactory
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
*/ package okhttp.android.test.sni import android.os.Build import android.util.Log import assertk.assertThat import assertk.assertions.contains import assertk.assertions.isEqualTo import java.security.cert.X509Certificate import javax.net.ssl.SNIHostName import javax.net.ssl.SNIServerName import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import okhttp3.DelegatingSSLSocketFactory import okhttp3.Dns
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.security.cert.Certificate; import java.security.cert.CertificateException; import java.security.cert.CertificateFactory; import java.security.cert.X509Certificate; import okhttp3.OkHttpClient; import okhttp3.Protocol; import okhttp3.Request; import okhttp3.Response; import okhttp3.tls.HandshakeCertificates; import org.junit.Test; import org.junit.runner.RunWith;
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Nov 17 07:40:31 GMT 2020 - 6.1K bytes - Viewed (0)