SCT signature verification, encode/decode and accessor functions

Don't need const for the enum value.