Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for trimIndent (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

        QOhTsiedSrnAdyGN/4fy3ryM7xfft0kL0fJuMAsaDk527RH89elWsn2/x20Kk4yl
        0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7ILaZRfyHB
        NVOFBkpdn627G190
        -----END CERTIFICATE-----
        """.trimIndent().decodeCertificatePem()
    
      // CN=Entrust Root Certification Authority, OU="(c) 2006 Entrust, Inc.", OU=www.entrust.net/CPS is incorporated by reference, O="Entrust, Inc.", C=US
      val entrustRootCertificateAuthority =
        """
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/CertificatesTest.kt

          8V0vxo1pHXnbBrnxhS/Z3TBerw8RyQqcaWOdp+pBXyIWmR+jHk9cHZCqQveTIBsY
          jaA9VEhgdaVhxBsT2qzUNDsXlOzGsliznDfoqETb
          -----END CERTIFICATE-----
          
          """.trimIndent()
        val certificate = certificateString.decodeCertificatePem()
        assertEquals(certificateString, certificate.certificatePem())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

            mRGunUHBcnWEvgJBQl9nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57d
            emyPxgcYxn/eR44/KJ4EBs+lVDR3veyJm+kXQ99b21/+jh5Xos1AnX5iItreGCc=
            -----END CERTIFICATE-----
            """.trimIndent().decodeCertificatePem()
    
          val handshakeCertificates =
            HandshakeCertificates
              .Builder()
              // TODO reenable in official answers
    //      .addPlatformTrustedCertificates()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top