- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PrivateKeyInfo (0.39 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* ..., * [[2: publicKey [1] PublicKey OPTIONAL ]], * ... * } * * PrivateKeyInfo ::= OneAsymmetricKey * ``` */ internal val privateKeyInfo: BasicDerAdapter<PrivateKeyInfo> = Adapters.sequence( "PrivateKeyInfo", Adapters.INTEGER_AS_LONG, algorithmIdentifier, Adapters.OCTET_STRING, decompose = { listOf(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
.decodeBase64()!! val decoded = CertificateAdapters.privateKeyInfo.fromDer(privateKeyInfoByteString) assertThat(decoded.version).isEqualTo(0L) assertThat(decoded.algorithmIdentifier).isEqualTo(AlgorithmIdentifier(RSA_ENCRYPTION, null)) assertThat(decoded.privateKey.size).isEqualTo(607) val encoded = CertificateAdapters.privateKeyInfo.toDer(decoded) assertThat(encoded).isEqualTo(privateKeyInfoByteString)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0)