Skip to main content

validate_private_key_parts

Function validate_private_key_parts 

Source
fn validate_private_key_parts(key: &RsaPrivateKey) -> Result<()>
Expand description

Helper function that validates the private key structure and cryptographic correctness.

This performs the structural and mathematical validation checks that are common to both validate() and validate_skip_exponent_size().