isDidSignature(input: unknown): input is DidSignature | OldDidSignature
Type guard assuring that the input is a valid DidSignature object, consisting of a signature as hex and the uri of the signing key.
Does not cryptographically verify the signature itself!
Type guard assuring that the input is a valid DidSignature object, consisting of a signature as hex and the uri of the signing key. Does not cryptographically verify the signature itself!
Returns
True if validation of form has passed.