Fix typo in documentation for RSA private key constructors (#362)

Fixed the documentation comment for the constructors  
* `init(unsafePEMRepresentation:)`
* `init(unsafeDERRepresentation:)`

of **`_RSA.Signing.PrivateKey`** which said "*public* key" instead of
"*private* key".

### Modifications:

No code changes.
This commit is contained in:
YourMJK authored and GitHub committed 2025-06-16 07:44:08 +00:00
1 parent 3ef65592d6
commit 46eca5f54b
1 file changed
+2 -2
+2 -2
View File
@@ -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.