# getIssuerOrganization method

String getIssuerOrganization()

Gets the the organization (O) of the certificate issuer.

return The organization (O) of the certificate issuer. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    String getIssuerOrganization() {
      Pointer<Char> pIssuerOrganization = nullptr;
      Pointer<Int> pIssuerOrganizationSize = calloc.allocate(1);
      pIssuerOrganizationSize[0] = -1;
      try {
        var err = biosealSDK.id3BiosealCertificateInformation_GetIssuerOrganization(_pHandle.value, pIssuerOrganization, pIssuerOrganizationSize);
        if (err == BiosealError.insufficientBuffer.value) {
          pIssuerOrganization = calloc.allocate(pIssuerOrganizationSize.value);
          err = biosealSDK.id3BiosealCertificateInformation_GetIssuerOrganization(_pHandle.value, pIssuerOrganization, pIssuerOrganizationSize);
          if (err != BiosealError.success.value) {
            throw BiosealException(err);
          }
        }
        final vIssuerOrganization = utf8.decode(Uint8List.fromList(pIssuerOrganization.cast<Uint8>().asTypedList(pIssuerOrganizationSize.value)));
        return vIssuerOrganization;
      } finally {
        calloc.free(pIssuerOrganization);
        calloc.free(pIssuerOrganizationSize);
      }
    }