# Signature

The **Signature** object is returned by the [**FSUtil**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/fsutil)**.GetSignature** method to provide information about the signature used to digitally sign an executable file.

| Property Name | Return Type       | Description                                                                                                                                                                                                                            |
| ------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| certissuer    | *object:CertInfo* | Information about the issuer of the certificate used to sign the file.                                                                                                                                                                 |
| certsigner    | *object:CertInfo* | Information about the certificate used to sign this file.                                                                                                                                                                              |
| certtimestamp | *object:CertInfo* | Information about the certificate used to timestamp the signature (only if `timestamped` is true).                                                                                                                                     |
| moreinfo      | *string*          | More information (optional string provided by the publisher).                                                                                                                                                                          |
| progname      | *string*          | Returns the name of the program.                                                                                                                                                                                                       |
| publink       | *string*          | Returns the publisher's link.                                                                                                                                                                                                          |
| selfsigned    | *bool*            | Returns **True** if the file is self-signed.                                                                                                                                                                                           |
| timestamp     | *date*            | Returns the signature's timestamp (if `timestamped` is true).                                                                                                                                                                          |
| timestamped   | *bool*            | Returns **True** if the signature was timestamped.                                                                                                                                                                                     |
| valid         | *bool*            | Returns **True** if the signature validation was successful. Note that the signature is only validated if the **verify** parameter is set to **True** or one of the other validation flags when the **GetSignature** method is called. |

### Signature.CertInfo

The **Signature.CertInfo** object is returned by the `certissuer`, `certsigner` and `certtimestamp` properties.

| Property Name | Return Type                                                                                                                     | Description                                   |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| issuer        | *string*                                                                                                                        | The party that issued the certificate.        |
| serial        | *string*                                                                                                                        | The signature's serial number (in text form). |
| serialdata    | *object:*[***Blob***](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/blob) | The signature's serial number in binary form. |
| subject       | *string*                                                                                                                        | The signature's subject name.                 |
| valid         | *bool*                                                                                                                          | Returns **True** if the certificate is valid. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/signature.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
