Ios Platform Key Provider
PlatformKeyProvider implementation backed by iOS Keychain and Secure Enclave.
Parameters
use Secure Element
When true, P-256 keys are created in Secure Enclave where available.
Properties
Functions
Link copied to clipboard
Exports serialized JWK material from an iOS software key.
Link copied to clipboard
Generates an iOS platform-backed key for supported types, otherwise a software key.
Link copied to clipboard
Returns whether keyType is created with platform-backed storage by this provider.
Link copied to clipboard
open suspend override fun loadSoftwareKey(keyId: String, keyType: KeyType, jwkMaterial: ByteArray): Key?
Loads an iOS software key from serialized JWK material.