Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rsa2048 (0.24 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        /**
         * Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of
         * security. RSA keys are interoperable with very old clients that don't support ECDSA.
         */
        fun rsa2048() =
          apply {
            keyAlgorithm = "RSA"
            keySize = 2048
          }
    
        fun build(): HeldCertificate {
          // Subject keys & identity.
          val subjectKeyPair = keyPair ?: generateKeyPair()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
Back to top