pub fn ecdsa_sign_prehashed(
    id: KeyTypeId,
    pub_key: &Public,
    msg: &[u8; 32]
) -> Option<Signature>
Expand description

Sign the given a pre-hashed msg with the ecdsa key that corresponds to the given public key and key type in the keystore.

Returns the signature.