pub fn new_verifier_with_key_manager(
    h: &tink::keyset::Handle,
    km: Option<Arc<dyn tink::registry::KeyManager>>,
) -> Result<Box<dyn tink::Verifier>, TinkError> {
    let ps = h
        .primitives_with_key_manager(km)
        .map_err(|e| wrap_err("verifier::factory: cannot obtain primitive set", e))?;

    let ret = WrappedVerifier::new(ps)?;
    Ok(Box::new(ret))
}
/// Return a [`tink::Verifier`] primitive from the given keyset handle and custom key manager.
Return a [`tink::Verifier`] primitive from the given keyset handle and custom key manager.
Return a [ ` tink :: Verifier ` ] primitive from the given keyset handle and custom key manager .
pub fn new_verifier_with_key_manager(
    h: &tink::keyset::Handle,
    km: Option<Arc<dyn tink::registry::KeyManager>>,
) -> Result<Box<dyn tink::Verifier>, TinkError> {
    let ps = h
        .primitives_with_key_manager(km)
        .map_err(|e| wrap_err("verifier::factory: cannot obtain primitive set", e))?;
    let ret = WrappedVerifier::new(ps)?;
    Ok(Box::new(ret))
}
pub fn new_verifier_with_key_manager ( h : & tink :: keyset :: Handle , km : Option < Arc < dyn tink :: registry :: KeyManager > > , ) -> Result < Box < dyn tink :: Verifier > , TinkError > { let ps = h . primitives_with_key_manager ( km ) . map_err ( | e | wrap_err ( " " , e ) ) ? ; let ret = WrappedVerifier :: new ( ps ) ? ; Ok ( Box :: new ( ret ) ) }
Return a [`tink::Verifier`] primitive from the given keyset handle and custom key manager.
Return a [ ` tink :: Verifier ` ] primitive from the given keyset handle and custom key manager .
h
&tink::keyset::Handle
km
Option<Arc<dyn tink::registry::KeyManager>>