- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for X509Certificate (0.21 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
chain: Array<out X509Certificate>, authType: String?, ) = throw CertificateException("Unsupported operation") override fun checkClientTrusted( chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?, ) = throw CertificateException("Unsupported operation") override fun checkClientTrusted( chain: Array<out X509Certificate>, authType: String, socket: Socket?,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp-tls/api/okhttp-tls.api
public final fun -deprecated_certificate ()Ljava/security/cert/X509Certificate; public final fun -deprecated_keyPair ()Ljava/security/KeyPair; public fun <init> (Ljava/security/KeyPair;Ljava/security/cert/X509Certificate;)V public final fun certificate ()Ljava/security/cert/X509Certificate; public final fun certificatePem ()Ljava/lang/String;
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Feb 26 19:17:33 GMT 2022 - 3.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
// private TrustAnchor findTrustAnchorByIssuerAndSignature(X509Certificate lastCert); val method = trustManager.javaClass.getDeclaredMethod( "findTrustAnchorByIssuerAndSignature", X509Certificate::class.java, ) method.isAccessible = true CustomTrustRootIndex(trustManager, method)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.2K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
assertTrue(response.code() == 200 || response.code() == 404); assertEquals(Protocol.HTTP_2, response.protocol()); for (Certificate c: response.handshake().peerCertificates()) { X509Certificate x = (X509Certificate) c; System.out.println(x.getSubjectDN()); } } }
Java - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jul 26 06:37:08 GMT 2021 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
*/ package okhttp3.internal.tls import java.security.cert.X509Certificate import javax.security.auth.x500.X500Principal /** A simple index that of trusted root certificates that have been loaded into memory. */ class BasicTrustRootIndex(vararg caCerts: X509Certificate) : TrustRootIndex { private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>> init {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.8K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
override fun checkClientTrusted( chain: Array<X509Certificate>, authType: String, ) {} override fun checkServerTrusted( chain: Array<X509Certificate>, authType: String, ) {} override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf() }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
* is -1 if signing cert is a lone self-signed certificate. */ private fun verifySignature( toVerify: X509Certificate, signingCert: X509Certificate, minIntermediates: Int, ): Boolean { if (toVerify.issuerDN != signingCert.subjectDN) { return false } if (signingCert.basicConstraints < minIntermediates) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
* limitations under the License. */ package okhttp3.tls.internal import java.io.InputStream import java.security.KeyStore import java.security.cert.Certificate import java.security.cert.X509Certificate import javax.net.ssl.KeyManagerFactory import javax.net.ssl.TrustManagerFactory import javax.net.ssl.X509ExtendedTrustManager import javax.net.ssl.X509KeyManager import javax.net.ssl.X509TrustManager
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
* -----END CERTIFICATE----- * ``` */ fun String.decodeCertificatePem(): X509Certificate { try { val certificateFactory = CertificateFactory.getInstance("X.509") val certificates = certificateFactory .generateCertificates( Buffer().writeUtf8(this).inputStream(), ) return certificates.single() as X509Certificate } catch (nsee: NoSuchElementException) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (2) -
okhttp/src/main/kotlin/okhttp3/internal/tls/TrustRootIndex.kt
* limitations under the License. */ package okhttp3.internal.tls import java.security.cert.X509Certificate fun interface TrustRootIndex { /** Returns the trusted CA certificate that signed [cert]. */ fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate?
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 843 bytes - Viewed (0)