AppleKeychainSigningKeyFactory

Low-level factory that generates and stores signing keys in the Keychain.

Most callers should use AppleKeychainSigningKey.getOrCreateInstance instead.

Functions

Link copied to clipboard
fun create(algorithm: SigningAlgorithm, keyId: String, keySizeInBits: Int = 2048, useSecureEnclave: Boolean = false)

Generates a new signing key for algorithm and stores it under keyId.