Support for message signing and validation