sec and pub key verification
compiles