SCT signature verification, encode/decode and accessor functions

I think preferred OpenSSL style would be to use all caps for enums, and lowercase for the type, see e.g. ec.h

typedef enum {
        X509_ENTRY = 0,
        PRECERT_ENTRY = 1,
} log_entry_type;