Module validate

Source
Expand description

Validation utilities for cryptographic operations

Functionsยง

authentication
Validate authentication result
check_parameter
Just check a parameter condition
ciphertext
Validate ciphertext format or content
key
Validate key format or content
length
Validate an exact length
max_length
Validate a maximum length
min_length
Validate a minimum length
not_implemented
Create a not implemented error
parameter
Validate a parameter condition
range_length
Validate length is within range (inclusive)
signature
Validate signature format or content