validate

Validates the internal structure and contents of this Disclosure according to RFC 9901.

Return

a ValidationResult containing any errors or warnings.