pub fn sign(
        &mut self,
        key_name: String,
        alg: AsymmetricSignature,
        hash: Vec<u8>,
    ) -> Result<Vec<u8>> {
        self.basic_client
            .psa_sign_hash(key_name, &hash, alg)
            .map_err(convert_error)
    }
/// Signs a short digest with a key.
Signs a short digest with a key.
Signs a short digest with a key .
pub fn sign(
        &mut self,
        key_name: String,
        alg: AsymmetricSignature,
        hash: Vec<u8>,
    ) -> Result<Vec<u8>> {
        self.basic_client
            .psa_sign_hash(key_name, &hash, alg)
            .map_err(convert_error)
    }
pub fn sign ( & mut self , key_name : String , alg : AsymmetricSignature , hash : Vec < u8 > , ) -> Result < Vec < u8 > > { self . basic_client . psa_sign_hash ( key_name , & hash , alg ) . map_err ( convert_error ) }
Signs a short digest with a key.
Signs a short digest with a key .
&mut self
key_name
String
alg
AsymmetricSignature
hash
Vec<u8>
&mut self
key_name
String
alg
AsymmetricSignature
hash
Vec<u8>