POST Codesign/GetApplication
Returns information about a signing application that is known within CodeSign Protect.
Requirements
- Permissions: None. Anyone can view Applications
- Token scope: Codesign
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
Specify one of the following parameters. To get any of these values, call POST Codesign/EnumerateApplications.
Name |
Description |
---|---|
Dn |
(Optional) The Distinguished Name (DN) of the signing application. Use the appropriate syntax. For example, in Postman: \\VED\\Code Signing\\Signing Applications\\[YourSgnApp]. |
Guid |
(Optional) The GUID that uniquely identifies the signing application. |
ID |
(Optional) The signing application identifier. |
Returns
Name |
Description |
---|---|
HTTP 200 |
For valid requests, this call returns a HTTP 200 message and the following data in the message body:
|
HTTP 400 |
For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:
|
Example: Find signing tool information, such as hash
Request
POST https://codesign.venafi.example/vedsdk/Codesign/GetApplication Authorization:Bearer 4MyGeneratedBearerTknz== { "Dn":"\\VED\\Code Signing\\Signing Applications\\Signtool - v7.1A" }
Response
HTTP/1.1 200 OK { "Application":{ "Dn":"\\VED\\Code Signing\\Signing Applications\\Signtool - v7.1A", "Guid":"{8f168386-0136-44b2-8bda-43327a7aa2c1}", "Hash":"FC8A501D7AEC932910B30D0597B813A5187DBD4F629146AFBF4EC047ACB9E6C5", "Id":392, "SignatorySubject":"Microsoft Corporation" }, "Result":1, "Success":true }