Static Propertyswift-crypto 3.12.2_CryptoExtras
bits2048
RSA key size of 2048 bits
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
static let bits2048: _RSA.Signing.KeySize
RSA key size of 2048 bits
static let bits2048: _RSA.Signing.KeySize
import _CryptoExtras
Provides additional cryptographic APIs that are not available in CryptoKit (and therefore the core Crypto library).
struct KeySize
enum _RSA
Types associated with the RSA algorithm
enum Signing
init(bitCount: Int)
RSA key size with a custom number of bits.
static let bits3072: _RSA.Signing.KeySize
RSA key size of 3072 bits
static let bits4096: _RSA.Signing.KeySize
RSA key size of 4096 bits
let bitCount: Int