- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for certificateAuthority (0.16 sec)
-
okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt
.serialNumber(1L) .certificateAuthority(2) .build() val certA = HeldCertificate.Builder() .serialNumber(2L) .certificateAuthority(1) .signedBy(root) .build() val certB = HeldCertificate.Builder() .serialNumber(3L) .certificateAuthority(0) .signedBy(certA) .build() val certC =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
val rootCa = HeldCertificate.Builder() .serialNumber(1L) .certificateAuthority(1) .commonName("root") .build() val intermediateCa = HeldCertificate.Builder() .signedBy(rootCa) .certificateAuthority(0) .serialNumber(2L) .commonName("intermediate_ca") .build() val certificate =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
platform.assumeNotConscrypt() platform.assumeNotBouncyCastle() val clientRoot = HeldCertificate.Builder() .certificateAuthority(1) .build() val clientIntermediate = HeldCertificate.Builder() .certificateAuthority(0) .signedBy(clientRoot) .build() val clientCertificate = HeldCertificate.Builder() .signedBy(clientIntermediate)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp-tls/README.md
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() .certificateAuthority(1) .build(); HeldCertificate intermediateCertificate = new HeldCertificate.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 9.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HandshakeTest.kt
import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.Test class HandshakeTest { val serverRoot = HeldCertificate.Builder() .certificateAuthority(1) .build() val serverIntermediate = HeldCertificate.Builder() .certificateAuthority(0) .signedBy(serverRoot) .build() val serverCertificate = HeldCertificate.Builder() .signedBy(serverIntermediate) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
serverRootCa = HeldCertificate.Builder() .serialNumber(1L) .certificateAuthority(1) .commonName("root") .addSubjectAlternativeName("root_ca.com") .build() serverIntermediateCa = HeldCertificate.Builder() .signedBy(serverRootCa) .certificateAuthority(0) .serialNumber(2L) .commonName("intermediate_ca")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
unusedBitsCount = 0, ), ), ) } @Test fun `certificate attributes`() { val certificate = HeldCertificate.Builder() .certificateAuthority(3) .commonName("Jurassic Park") .organizationalUnit("Gene Research") .addSubjectAlternativeName("*.example.com") .addSubjectAlternativeName("www.example.org")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
okhttp-tls/api/okhttp-tls.api
public fun <init> ()V public final fun addSubjectAlternativeName (Ljava/lang/String;)Lokhttp3/tls/HeldCertificate$Builder; public final fun build ()Lokhttp3/tls/HeldCertificate; public final fun certificateAuthority (I)Lokhttp3/tls/HeldCertificate$Builder; public final fun commonName (Ljava/lang/String;)Lokhttp3/tls/HeldCertificate$Builder; public final fun duration (JLjava/util/concurrent/TimeUnit;)Lokhttp3/tls/HeldCertificate$Builder;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Feb 26 19:17:33 UTC 2022 - 3.7K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} // Log with redaction if err := api.RedactSecrets(kcfg); err != nil { return kubeconfig{}, err } for _, c := range kcfg.Clusters { // Not actually sensitive, just annoyingly verbose. c.CertificateAuthority = "REDACTED" } lrcfg, err := latest.Scheme.ConvertToVersion(kcfg, latest.ExternalVersion) if err != nil { return kubeconfig{}, err } redacted, err := yaml.Marshal(lrcfg) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0)