iota_types::crypto

Function verify_proof_of_possession

Source
pub fn verify_proof_of_possession(
    pop: &AuthoritySignature,
    authority_pubkey: &AuthorityPublicKey,
    iota_address: IotaAddress,
) -> Result<(), IotaError>
Expand description

Verify proof of possession against the expected intent message, consisting of the authority pubkey and the authority account address.