Parse a P2PK Secret and validate NUT-10 shape and NUT-11 constraints.
The Proof secret.
Secret object.
If the JSON is invalid, NUT-10 secret is malformed, or sigflag is unrecognised.
Pass a string or Secret instead.
Parse a P2PK Secret and validate NUT-10 shape and NUT-11 constraints.