Application Collection

class CodeSignApplicationCollection(api)

Bases: FeatureBase

Parameters:

api (Authenticate)

create(name, parent_folder='\\VED\\Code Signing\\Signing Applications', applications=None, raise_if_already_exists=False)

Create an application collection.

Parameters:
  • name (str) – Name of the application collection.

  • parent_folder (Object | str) – Distinguished Name (DN) of the parent folder.

  • applications (list[str | Object | Application]) – List of applications to include in the application collection.

  • raise_if_already_exists (bool) – If the object already exists, raise an error.

Returns:

ApplicationCollection

Return type:

ApplicationCollection

delete(collection)

Delete an application collection.

Parameters:

collection (str | Object | ApplicationCollection) – ApplicationCollection, Distinguished Name (DN), or Config Object of the application.

enumerate(_filter=None)

Enumerate the application collections.

Parameters:

_filter (str) – The partial tool name and optional trailing asterisk (*) wild card.

Returns:

list[ApplicationCollection]

Return type:

list[ApplicationCollection]

get(dn=None, guid=None, id=None)

Get an application collection object using a Distinguished Name (DN), GUID, or Identifier.

Parameters:
  • dn (str) – Distinguished Name (DN) of the application collection object.

  • guid (str) – GUID of the application collection object.

  • id (str) – Identifier of the application collection object.

Returns:

ApplicationCollection

Return type:

ApplicationCollection

get_member_dns(dn=None, guid=None, id=None)

Get Distinguished Name (DN) of applications and application collections that are members of an application collection.

Parameters:
  • dn (str) – Distinguished Name (DN) of the application collection object.

  • guid (str) – GUID of the application collection object.

  • id (str) – Identifier of the application collection object.

Returns:

Return type:

Dataclass object containing

get_members(dn=None, guid=None, id=None)

Get Distinguished Name (DN) of applications and application collections that are members of an application collection.

Parameters:
  • dn (str) – Distinguished Name (DN) of the application collection object.

  • guid (str) – GUID of the application collection object.

  • id (str) – Identifier of the application collection object.

Returns:

list[Distinguished Name (DN).]

Return type:

ApplicationCollection

rename(collection, new_dn)

Rename an application collection object by giving it a new Distinguished Name (DN).

Parameters:
update(collection)

Update an application collection.

Parameters:

collection (Object | ApplicationCollection) – The updated ApplicationCollection.