isKeyPresent

abstract fun isKeyPresent(eKeyType: CryptoKeyType, tKeyPurpose: CryptoKeyPurpose, iKeyIndex: Int): NexusRet

Checks if a cryptographic key of a specific type, purpose, and index is present in the secure element.

Return

true if the specified key exists in the secure element; false otherwise.

Parameters

eKeyType

The key type to check (CryptoKeyType).

tKeyPurpose

The key purpose to check (CryptoKeyPurpose).

iKeyIndex

The index of the key within its group (0–99).