mirror of
https://github.com/apple/swift-crypto
synced 2026-11-25 04:47:47 +00:00
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:
1 parent
3ef65592d6
commit
46eca5f54b
1 file changed
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user