Sign a text and return an object containing two attributes :
NB: pub_key_id is optional.
Encrypt a text and return the result in an object.
An object containing two attributes: