Function isDidSignature

  • 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.

    Parameters

    • input: unknown

      Arbitrary input.

    Returns input is DidSignature | OldDidSignature