private ScoreSheet Sign(ScoreSheet scoreSheet) { var signature = scoreSheet.ComputeSignature(_signingKey); return(scoreSheet.Sign(signature)); }
public bool IsAuthentic(ScoreSheet scoreSheet) { var expectedSignature = scoreSheet.ComputeSignature(_signingKey); return(scoreSheet.Signature == expectedSignature); }