generate

fun generate(signingKey: EcPrivateKey, signingAlgorithm: Algorithm): ByteArray

Generates a VICAL

Return

the bytes of the CBOR encoded COSE_Sign1 with the VICAL.

Parameters

signingKey

the key used to sign the VICAL. This must match the public key in the leaf certificate in vicalProviderCertificateChain.

signingAlgorithm

the algorithm used to make the signature