From 0bfafbf3d1f01fc538dbde89e34d6242d2f0a63b Mon Sep 17 00:00:00 2001 From: YourMJK <37852512+YourMJK@users.noreply.github.com> Date: Sat, 14 Jun 2025 02:49:51 +0200 Subject: [PATCH] Fix typo in documentation for RSA private key constructor --- Sources/_CryptoExtras/RSA/RSA.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/_CryptoExtras/RSA/RSA.swift b/Sources/_CryptoExtras/RSA/RSA.swift index df6a5876b..c0acdbb4a 100644 --- a/Sources/_CryptoExtras/RSA/RSA.swift +++ b/Sources/_CryptoExtras/RSA/RSA.swift @@ -179,7 +179,7 @@ extension _RSA.Signing { } } - /// Construct an RSA public key from a PEM representation. + /// Construct an RSA private key from a PEM representation. /// /// This constructor supports key sizes of 1024 bits or more. Users should validate that key sizes are appropriate /// for their use-case. @@ -204,7 +204,7 @@ extension _RSA.Signing { } } - /// Construct an RSA public key from a DER representation. + /// Construct an RSA private key from a DER representation. /// /// This constructor supports key sizes of 1024 bits or more. Users should validate that key sizes are appropriate /// for their use-case.