# getKeyUsage method

StringArray getKeyUsage()

Gets the the certificate key usage list.

return The certificate key usage list. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    StringArray getKeyUsage() {
      StringArray keyUsage = StringArray();
      var err = biosealSDK.id3BiosealCertificateInformation_GetKeyUsage(_pHandle.value, keyUsage.handle);
      if (err != BiosealError.success.value) {
        keyUsage.dispose();
        throw BiosealException(err);
      }
      return keyUsage;
    }