Enum caprock_signature_algorithm

Enum Documentation

enum caprock_signature_algorithm

Token creation does not much care about some things, such as if a given identifier is of a specific type. In order to enforce a protocol, suc

Creating a token serializes the parameters as needed into the output buffer, and adds a signature from the issuer key.

Values:

enumerator CSA_AUTO

Let the library pick the best algorithm.

enumerator CSA_RAW

Use the raw public key without any digest. This is only suitable for Edwards curve keys.

enumerator CSA_SHA2

Use SHA-2 to produce the signature.

enumerator CSA_SHA3

Use SHA-3 to produce the signature.