Enumeration
RSA
Namespace for RSA cryptographic types backed by OpenSSL.
enum RSA
Mentioned In
Overview
RSA groups the Swift types that represent RSA keys and, in future releases, signing and verification operations. The namespace is a caseless enum so it cannot be instantiated; all members are nested types or static functions.
The currently shipping surface is PEM ingestion: RSA.PrivateKey and RSA.PublicKey accept PEM-encoded key material (PKCS#1, RFC 8017 or PKCS#8, RFC 5958) and retain the original bytes for later use. These types exist primarily so consumers can pass typed values through their own APIs while the underlying provider integration is still in progress.
Warning
Signing (RSA.PrivateKey) and verification (RSA.PublicKey) are not yet functional. They require the OpenSSL provider layer (OSSL_PROVIDER_load, EVP_PKEY_sign_init), which is not wired up in this package. See Security Considerations for the full list of MVP gaps before depending on this in production.
See Also
RSA.PrivateKey, RSA.PublicKey, OpenSSLError
Topics
Structures