extractSigningBlocks method

void extractSigningBlocks()

Implementation

void extractSigningBlocks() {
  _signingBlockendOffset = _magicNumberOffset - 4;
  var blockSize = _getSigningBlockSize();
  _signingBlockstartOffset = _signingBlockendOffset - blockSize;
  var currentOffset = _signingBlockstartOffset;

  while (currentOffset < _signingBlockendOffset) {
    _input.offset = currentOffset;
    var subBlockSize = _input.readUint32();
    currentOffset = currentOffset + 4;
    _input.offset = currentOffset;
    var subBlockID = _input.readUint32();
    currentOffset = currentOffset + 4;
    _input.offset = currentOffset;
    var subBlockBody = _input.readBytes(subBlockSize);
    extractSubBlockBody(currentOffset, subBlockSize);
    currentOffset = currentOffset + subBlockSize;
    break;
  }
}