generate

suspend fun generate(signingKey: AsymmetricKey): ByteArray

Generates a RICAL

Return

the bytes of the CBOR encoded COSE_Sign1 with the rical.

Parameters

signingKey

the key used to sign the RICAL. This must match the public key in the leaf certificate in ricalProviderCertificateChain.