pub fn verify_with_rsa_sha256(
        &mut self,
        key_name: String,
        hash: Vec<u8>,
        signature: Vec<u8>,
    ) -> Result<()> {
        self.verify(
            key_name,
            AsymmetricSignature::RsaPkcs1v15Sign {
                hash_alg: Hash::Sha256.into(),
            },
            hash,
            signature,
        )
    }
/// Verifies a signature made with an RSA key.
Verifies a signature made with an RSA key.
Verifies a signature made with an RSA key .
pub fn verify_with_rsa_sha256(
        &mut self,
        key_name: String,
        hash: Vec<u8>,
        signature: Vec<u8>,
    ) -> Result<()> {
        self.verify(
            key_name,
            AsymmetricSignature::RsaPkcs1v15Sign {
                hash_alg: Hash::Sha256.into(),
            },
            hash,
            signature,
        )
    }
pub fn verify_with_rsa_sha256 ( & mut self , key_name : String , hash : Vec < u8 > , signature : Vec < u8 > , ) -> Result < ( ) > { self . verify ( key_name , AsymmetricSignature :: RsaPkcs1v15Sign { hash_alg : Hash :: Sha256 . into ( ) , } , hash , signature , ) }
Verifies a signature made with an RSA key.
Verifies a signature made with an RSA key .
&mut self
key_name
String
hash
Vec<u8>
signature
Vec<u8>
&mut self
key_name
String
hash
Vec<u8>
signature
Vec<u8>