Skip to content

Commit

Permalink
Fix docs on privateKeyPkcs8Pem() to not require RSA (#6306)
Browse files Browse the repository at this point in the history
PKCS #1 is RSA-only
PKCS #8 is any key
  • Loading branch information
swankjesse authored Oct 5, 2020
1 parent 1d7a733 commit c13cabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class HeldCertificate(
fun certificatePem(): String = certificate.certificatePem()

/**
* Returns the RSA private key encoded in [PKCS #8][rfc_5208] [PEM format][rfc_7468].
* Returns the private key encoded in [PKCS #8][rfc_5208] [PEM format][rfc_7468].
*
* [rfc_5208]: https://tools.ietf.org/html/rfc5208
* [rfc_7468]: https://tools.ietf.org/html/rfc7468
Expand Down

0 comments on commit c13cabd

Please sign in to comment.