Skip to main content

recover_private_document_signer

Function recover_private_document_signer 

Source
pub fn recover_private_document_signer(
    signature: &[u8; 65],
    signing_data: &[u8; 32],
) -> Result<PublicKey, PrivateDocumentEnvelopeError>
Expand description

The key a compact signature of signing_data recovers to, refused with SenderNotAuthenticated when it is no signature. A signer checks its own signature with it before sealing.