Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for encodeBase64Lines (0.22 sec)

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

       * [rfc_7468]: https://tools.ietf.org/html/rfc7468
       */
      fun privateKeyPkcs8Pem(): String {
        return buildString {
          append("-----BEGIN PRIVATE KEY-----\n")
          encodeBase64Lines(keyPair.private.encoded.toByteString())
          append("-----END PRIVATE KEY-----\n")
        }
      }
    
      /**
       * Returns the RSA private key encoded in [PKCS #1][rfc_8017] [PEM format][rfc_7468].
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top