Rights

class CodeSignRights(api)

Bases: FeatureBase

Parameters:

api (Authenticate)

add_administrator(trustee)

Grant Code Signing Administrator rights to allow a trustee to administer any CodeSign Protect project.

Parameters:

trustee (str | Identity) – Identity Object, Config Object, or prefixed universal of an identity.

add_application_administrator(trustee)

Grant Code Signing Application Administrator rights to a trustee. The Code Signing Application Administrator has permissions to Application and ApplicationCollection objects in CodeSign Protect.

Parameters:

trustee (str | Identity) – Identity Object, Config Object, or prefixed universal of an identity.

add_project_approver(trustee)

Grant Project Approval rights to a trustee to sign projects.

Parameters:

trustee (str | Identity) – Identity Object, Config Object, or prefixed universal of an identity.

get_object_rights(obj)

Returns all identities that have rights to a CodeSign Protect object.

Parameters:

obj (str | Object) – Distinguished Name (DN) or Config Object

Returns:

Rights

Return type:

list[Rights]

get_right(obj)

Returns your rights for a CodeSign Protect object.

Parameters:

obj (str | Object) – Distinguished Name (DN) or Config Object

Returns:

Rights

Return type:

Rights

get_trustee_rights(trustee)

Returns all CodeSign Protect code signing rights for a user.

Parameters:

trustee (str | Identity) – Identity Object, Config Object, or prefixed universal of an identity.

Returns:

Rights

Return type:

list[Rights]

remove_administrator(trustee)

Revoke Code Signing Administrator rights from a trustee.

Parameters:

trustee (str | Identity) – Identity Object, Config Object, or prefixed universal of an identity.

remove_application_administrator(trustee)

Revoke Code Signing Application Administrator rights from a trustee.

Parameters:

trustee (str | Identity) – Identity Object, Config Object, or prefixed universal of an identity.

remove_project_approver(trustee)

Revoke Key Use Approver rights from a trustee.

Parameters:

trustee (str | Identity) – Identity Object, Config Object, or prefixed universal of an identity.