Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for rsa2048 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          )
        val heldCertificate =
          HeldCertificate
            .Builder()
            .keyPair(publicKey, privateKey)
            .commonName("cash.app")
            .validityInterval(0L, 1000L)
            .rsa2048()
            .build()
        assertThat(
          """
          |-----BEGIN CERTIFICATE-----
          |MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDDAhjYXNo
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

      fun `RSA issuer and signature`() {
        val root =
          HeldCertificate
            .Builder()
            .certificateAuthority(0)
            .rsa2048()
            .build()
        val certificate =
          HeldCertificate
            .Builder()
            .signedBy(root)
            .rsa2048()
            .build()
    
        val certificateByteString = certificate.certificate.encoded.toByteString()
    
        // Valid signature.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            val heldCertificate =
              HeldCertificate
                .Builder()
                .commonName("localhost")
                .addSubjectAlternativeName("localhost")
                .rsa2048()
                .build()
            return@lazy HandshakeCertificates
              .Builder()
              .heldCertificate(heldCertificate)
              .addTrustedCertificate(heldCertificate.certificate)
              .build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 15.4K bytes
    - Click Count (1)
Back to Top