- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for generateKeyPair (0.07 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
algorithm = SHA256_WITH_ECDSA, parameters = ByteString.EMPTY, ) } } private fun generateKeyPair(): KeyPair { return KeyPairGenerator.getInstance(keyAlgorithm).run { initialize(keySize, SecureRandom()) generateKeyPair() } } companion object { private const val DEFAULT_DURATION_MILLIS = 1000L * 60 * 60 * 24 // 24 hours. }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0)