- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for intermediates (0.1 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
this.intermediates = arrayOf(*intermediates) // Defensive copy. } /** * Add a trusted root certificate to use when authenticating a peer. Peers must provide * a chain of certificates whose root is one of these. */ fun addTrustedCertificate(certificate: X509Certificate) = apply { this.trustedCertificates += certificate } /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
keyStoreType: String?, heldCertificate: HeldCertificate?, vararg intermediates: X509Certificate, ): X509KeyManager { val keyStore = newEmptyKeyStore(keyStoreType) if (heldCertificate != null) { val chain = arrayOfNulls<Certificate>(1 + intermediates.size) chain[0] = heldCertificate.certificate intermediates.copyInto(chain, 1)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
): Boolean { if (toVerify.issuerDN != signingCert.subjectDN) { return false } if (signingCert.basicConstraints < minIntermediates) { return false // The signer can't have this many intermediates beneath it. } return try { toVerify.verify(signingCert.publicKey) true } catch (verifyFailed: GeneralSecurityException) { false } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.8K bytes - Click Count (0) -
okhttp-tls/README.md
representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate` to generate a trusted root certificate, an intermediate certificate, and a server certificate. We use `certificateAuthority(int)` to create certificates that can sign other certificates. The int specifies how many intermediate certificates are allowed beneath it in the chain. ```java HeldCertificate rootCertificate = new HeldCertificate.Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.1K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
.Builder() .certificateAuthority(1) .build() val intermediate = HeldCertificate .Builder() .certificateAuthority(0) .signedBy(root) .build() val certificate = HeldCertificate .Builder() .signedBy(intermediate) .build() val handshakeCertificates = HandshakeCertificates
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt
assertThat(cleaner.clean(list(certificate, intermediateCa), "hostname")) .isEqualTo( list(certificate, intermediateCa, trusted), ) assertThat(cleaner.clean(list(certificate, intermediateCa, trusted), "hostname")) .isEqualTo( list(certificate, intermediateCa, trusted), ) } @Test fun chainMaxLength() { val heldCertificates = chainOfLength(10)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 9.5K bytes - Click Count (1) -
.github/ISSUE_TEMPLATE/11-language-change.yml
- type: dropdown id: author-go-experience attributes: label: "Go Programming Experience" description: "Would you consider yourself a novice, intermediate, or experienced Go programmer?" options: - "Novice" - "Intermediate" - "Experienced" default: 1 - type: input id: author-other-languages-experience attributes: label: "Other Languages Experience"Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 08 19:02:29 GMT 2024 - 4.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java
/** * Resources to include with the generated documentation. */ public abstract ConfigurableFileCollection getResources(); /** * Location to stage the intermediate documentation. This is like a working directory. */ public abstract DirectoryProperty getStagingRoot(); public abstract RegularFileProperty getGeneratedMetaDataFile(); /**Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.9K bytes - Click Count (0) -
architecture/build-execution-model.md
4. The daemon runs the request, sending back data such as logging output or tooling API events and intermediate models while doing so. 5. The daemon sends the result back. For some requests, this might be a simple success/failure result, and for others this might also include a more complex object, such as a tooling API model.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 907 bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java
/** * Source of samples that can be inserted into the user manual * */ public abstract DirectoryProperty getSamples(); /** * Working directory for staging directory for intermediate user manual files */ public abstract DirectoryProperty getStagingRoot(); public abstract DirectoryProperty getStagedDocumentation(); /** * Additional resources to include in the final docsCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.7K bytes - Click Count (0)