pub fn bandersnatch_sign(
    id: <PassPointerAndReadCopy<KeyTypeId, 4> as RIType>::Inner,
    pub_key: <PassPointerAndRead<&Public, 32> as RIType>::Inner,
    msg: <PassFatPointerAndRead<&[u8]> as RIType>::Inner,
) -> <AllocateAndReturnByCodec<Option<Signature>> as RIType>::InnerExpand description
Sign the given msg with the bandersnatch key that corresponds to the given public key
and key type in the keystore.
Returns the signature or None if an error occurred.