matchSignKey abstract method

bool matchSignKey(
  1. SignKey sKey
)

Verifies if this verification key matches the given signing key.

Validation logic: verify(data, sign(data, SK), PK) == true

sKey is the signing key (private) to verify against.

Returns true if keys form a valid signing/verification pair.

Implementation

bool matchSignKey(SignKey sKey);