Added initial version of security implementation to support message signatures.