pub fn sign_with_ecdsa_sha256(&mut self, key_name: String, hash: Vec<u8>) -> Result<Vec<u8>> {
        self.sign(
            key_name,
            AsymmetricSignature::Ecdsa {
                hash_alg: Hash::Sha256.into(),
            },
            hash,
        )
    }
/// Signs a short digest with an ECDSA key.
Signs a short digest with an ECDSA key.
Signs a short digest with an ECDSA key .
pub fn sign_with_ecdsa_sha256(&mut self, key_name: String, hash: Vec<u8>) -> Result<Vec<u8>> {
        self.sign(
            key_name,
            AsymmetricSignature::Ecdsa {
                hash_alg: Hash::Sha256.into(),
            },
            hash,
        )
    }
pub fn sign_with_ecdsa_sha256 ( & mut self , key_name : String , hash : Vec < u8 > ) -> Result < Vec < u8 > > { self . sign ( key_name , AsymmetricSignature :: Ecdsa { hash_alg : Hash :: Sha256 . into ( ) , } , hash , ) }
Signs a short digest with an ECDSA key.
Signs a short digest with an ECDSA key .
&mut self
key_name
String
hash
Vec<u8>
&mut self
key_name
String
hash
Vec<u8>