SCT signature verification, encode/decode and accessor functions

ditto