- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SHA256WITHECDSA (0.2 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
.certificateAuthority(0) .rsa2048() .signedBy(root) .build() assertThat(root.certificate.sigAlgName).isEqualTo("SHA256WITHECDSA", ignoreCase = true) assertThat(leaf.certificate.sigAlgName).isEqualTo("SHA256WITHECDSA", ignoreCase = true) } @Test fun decodeEcdsa256() { // The certificate + private key below was generated programmatically: //
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
*/ val signatureAlgorithmName: String get() { return when (signature.algorithm) { ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> "SHA256WithRSA" ObjectIdentifiers.SHA256_WITH_ECDSA -> "SHA256withECDSA" else -> error("unexpected signature algorithm: ${signature.algorithm}") } } // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0)