Return the cryptographic signature of the given data using {{key.name}}
as the encryption key and the specified hash algorithm.
{{key-version-select
key=key
onVersionChange=(action (mut key_version))
key_version=key_version
}}
{{input type="checkbox" id="encodedBase64" checked=encodedBase64 data-test-transit-input="encodedBase64"}}
{{#if (or (eq key.type 'rsa-2048') (eq key.type 'rsa-3072') (eq key.type 'rsa-4096'))}}