getInstance

Returns an AppleKeychainSigningKey for the given algorithm and keyId if a matching key already exists in the Keychain, or null if no such key is found.

Parameters

keyId

The Keychain key alias to look up. When null, a library-managed default alias derived from algorithm is used.