Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isBouncyCastle (0.08 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

        fun isJdk9() = getPlatformSystemProperty() == JDK9_PROPERTY
    
        fun isJdk8() = getPlatformSystemProperty() == JDK8_PROPERTY
    
        fun isJdk8Alpn() = getPlatformSystemProperty() == JDK8_ALPN_PROPERTY
    
        fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
    
        fun isOpenJsse() = getPlatformSystemProperty() == OPENJSSE_PROPERTY
    
        fun isLoom() = getPlatformSystemProperty() == LOOM_PROPERTY
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  2. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          """.trimMargin()
        val heldCertificate = decode(certificatePem + pkcs8Pem)
        assertThat(heldCertificate.certificatePem()).isEqualTo(certificatePem)
    
        // Slightly different encoding
        if (platform.isBouncyCastle()) {
          assertThat(heldCertificate.privateKeyPkcs8Pem()).isEqualTo(bcPkcs8Pem)
        } else {
          assertThat(heldCertificate.privateKeyPkcs8Pem()).isEqualTo(pkcs8Pem)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top