diff --git a/Sources/_CryptoExtras/RSA/RSA.swift b/Sources/_CryptoExtras/RSA/RSA.swift index 4d37e9e8f..63e1bcbb3 100644 --- a/Sources/_CryptoExtras/RSA/RSA.swift +++ b/Sources/_CryptoExtras/RSA/RSA.swift @@ -183,7 +183,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. @@ -208,7 +208,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.