Security module for Cose