extractSigningBlocks method

void extractSigningBlocks()

Implementation

void extractSigningBlocks() {
  _signingBlockEndOffset = _magicNumberOffset - 4;
  final blockSize = _getSigningBlockSize();
  _signingBlockStartOffset = _signingBlockEndOffset - blockSize;
  int currentOffset = _signingBlockStartOffset;

  while (currentOffset < _signingBlockEndOffset) {
    _input.offset = currentOffset;
    final subBlockSize = _input.readUint32();
    currentOffset = currentOffset + 4;
    _input.offset = currentOffset;
    currentOffset = currentOffset + 4;
    _input.offset = currentOffset;
    extractSubBlockBody(currentOffset, subBlockSize);
    currentOffset = currentOffset + subBlockSize;
    break;
  }
}