sign

suspend fun sign(input: ByteArray, unlockReason: Reason = Reason.Unspecified): EcSignature

Signs input with this credential's key. Does not consume the credential, so it can be called repeatedly within a session (e.g. when the user toggles which claims to disclose).