check_public_with_max_size

Function check_public_with_max_size 

Source
fn check_public_with_max_size(
    public_key: &impl PublicKeyParts,
    max_size: Option<usize>,
) -> Result<()>
Expand description

Check that the public key is well formed and has an exponent within acceptable bounds.