getOrCreateSecureSigningKey
Returns a JwsProcessor backed by a hardware-bound signing key, creating the key if it does not already exist.
Parameters
The platform key-store alias. When null, a library-managed default alias derived from algorithm is used.
The signing algorithm for the key. Defaults to SigningAlgorithm.ES256.
RSA key size in bits. Ignored for ECDSA and HMAC keys. Defaults to 2048.
Controls whether the key is generated inside dedicated secure hardware (Android StrongBox or Apple Secure Enclave). Defaults to SecureHardwarePreference.None.
Returns a JwsProcessor backed by a hardware-bound signing key, creating the key if it does not already exist.
Parameters
The platform key-store alias. When null, a library-managed default alias derived from algorithm is used.
The signing algorithm for the key. Defaults to SigningAlgorithm.ES256.
RSA key size in bits. Ignored for ECDSA and HMAC keys. Defaults to 2048.
Controls whether the key is generated inside dedicated secure hardware (Android StrongBox or Apple Secure Enclave). Defaults to SecureHardwarePreference.None.
Returns a JwsProcessor backed by a hardware-bound signing key, creating the key if it does not already exist.
Parameters
The platform key-store alias. When null, a library-managed default alias derived from algorithm is used.
The signing algorithm for the key. Defaults to SigningAlgorithm.ES256.
RSA key size in bits. Ignored for ECDSA and HMAC keys. Defaults to 2048.
Controls whether the key is generated inside dedicated secure hardware (Android StrongBox or Apple Secure Enclave). Defaults to SecureHardwarePreference.None.