getVerifiesGovernance method

bool getVerifiesGovernance()

Gets the indicates whether the governance certification chain is verified. Hint: Default value is true.

return Indicates whether the governance certification chain is verified. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

bool getVerifiesGovernance() {
  Pointer<Bool> pVerifiesGovernance = calloc();
  try {
    var err = biosealSDK.id3Bioseal_GetVerifiesGovernance(_pHandle.value, pVerifiesGovernance);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vVerifiesGovernance = pVerifiesGovernance.value;
    return vVerifiesGovernance;
  } finally {
    calloc.free(pVerifiesGovernance);
  }
}