- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for decodeCertificatePem (0.14 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
import java.security.spec.X509EncodedKeySpec import java.text.SimpleDateFormat import java.util.Date import java.util.TimeZone import okhttp3.tls.HeldCertificate import okhttp3.tls.decodeCertificatePem import okhttp3.tls.internal.der.ObjectIdentifiers.BASIC_CONSTRAINTS import okhttp3.tls.internal.der.ObjectIdentifiers.COMMON_NAME import okhttp3.tls.internal.der.ObjectIdentifiers.ORGANIZATIONAL_UNIT_NAME
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/main/kotlin/okhttp3/tls/HeldCertificate.kt
return decode(certificatePem, pkcs8Base64) } private fun decode( certificatePem: String, pkcs8Base64Text: String, ): HeldCertificate { val certificate = certificatePem.decodeCertificatePem() val pkcs8Bytes = pkcs8Base64Text.decodeBase64() ?: throw IllegalArgumentException("failed to decode private key")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0)