SCT signature verification, encode/decode and accessor functions

"const for the enum value" removed in 090da80dd67a60d4ddd97cf6f09170cb12e5c6ac.

TBH, I'm not at all clear where constification is considered appropriate!