dataForSignature method

List<int> dataForSignature(
  1. SignerInfo signerInfo
)

Implementation

List<int> dataForSignature(SignerInfo signerInfo) {
  Uint8List sigHash = header.computeInitiator(signerInfo);

  List<int> tempHash = List<int>.from(sigHash.toList());

  tempHash.addAll(hash());

  return sha256.convert(tempHash).bytes;
}