try_sign

Function try_sign 

Source
pub fn try_sign<T: Serialize>(
    signer: &EvidenceSigner,
    payload: &T,
) -> Option<String>
Expand description

Returns None for both “not configured” and “configured but failed”; the runtime-failure path emits an error! so auditors can distinguish them.