# getCritical method

bool getCritical()

Gets the A value indicating whether the certificate extension is critical.

return A value indicating whether the certificate extension is critical. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    bool getCritical() {
      Pointer<Bool> pCritical = calloc();
      try {
        var err = biosealSDK.id3BiosealCertificateExtension_GetCritical(_pHandle.value, pCritical);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vCritical = pCritical.value;
        return vCritical;
      } finally {
        calloc.free(pCritical);
      }
    }