requestSigning

Submits a signing set for signing.

Parameters

authToken, publisherID, applicationName, applicationVersion, signingServiceName, application, commaDelimitedFileNames, returnSigningServiceType, signingCertificateOptions, signingAttributes

Table: Parameters

Name

Type

Description

authToken

AuthToken

Required. Your username, password, and partner code.

publisherID

int

Optional. An ID that identifies a workgroup account. The original publisherSignupResponse returns this ID.

applicationName

string

Required. Name of the application to be signed.

applicationVersion

string

Optional. Unique identifier for the version of the application to be signed. Useful for multiple applications that have the same name.

If you do not specify a version number, the system generates the version in this format: YYYY.MM.DD.HH.MM.

signingServiceName

string

Required. The name of the signing service that the CA uses to sign this set.

You work with a Symantec product manager to define and name the signing services that you need.

application

string

The file or files to be signed, in base64-encoded zip format.

To upload large files, exclude this field (or leave it blank) to create only a signing set.

commaDelimitedFileNames

string

Optional. Comma-delimited list of files to be signed. This is a mandatory field and has to be specified for API or large file signing. For directory signing, this field must be sent as empty.

returnSigningServiceType

bool

Optional. If TRUE, returns the signing service type. Helps identify whether the signing event was a test event or production event.

signingCertificateOptions

SigningCertificateOptionsType

Optional.

signingAttributes

SigningAttributeType

Optional. A container for a signing attribute.

Response

Table: Response

Name

Type

Description

result

Result

Includes success code and timestamp for the request.

signingSetID

int

The unique identifier applied to this application signature request. Useful to track the signing status if the application is not immediately signed. This element is not returned if there is a fatal error.

signingSetStatus

string

See Signing set status codes.

signingServiceType

string

Returns the signing service type if returnSigningServiceType is TRUE. Valid values are:

  • Production

  • Testing

signature

string

The CA signature.

certificateInfo

CertificateInfoType

Container for the CA certificate chain.

XML request
<soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/​soap/envelope/" 
xmlns:cod="http://api.ws.symantec.com/​webtrust/codesigningservice">  
<soapenv:Body> 
   <cod:requestSigning> 
     <cod:requestSigningRequest> 
        <cod:authToken> 
            <cod:userName>username</cod:userName>  
            <cod:password>password</cod:password>  
            <cod:partnerCode>partnercode</cod:partnerCode> 
        </cod:authToken>  
        <cod:publisherID>8613926</cod:publisherID>  
        <cod:applicationName>MyAppTwo
        </cod:applicationName>  
        <cod:applicationVersion>Version 1.2
        </cod:applicationVersion>  
        <cod:signingServiceName>My Signing Service
        </cod:signingServiceName>  
        <cod:application>CED60E0DE7D686B90FC0A6BDA1EBAEBC658...
        </cod:application>  
								<cod:commaDelimitedFileNames>Unsigned.jad,Unsigned.jar
								</cod:commaDelimitedFileNames> 
        <cod:returnSigningServiceType>true
         </cod:returnSigningServiceType>
        <cod:signingAttributes>
            <cod:signingAttribute>
              <cod:name>Hardware_ID</cod:name>
              <cod:value>BestGadgetEver</cod:value>
            </cod:signingAttribute>
            <cod:signingAttribute>
              <cod:name>Model_ID</cod:name>
              <cod:value>Thunderbird</cod:value>
            </cod:signingAttribute>
            <cod:signingAttribute>
              <cod:name>Publisher_ID</cod:name>
              <cod:value>Best Workgroup Ever</cod:value>
            </cod:signingAttribute>
        </cod:signingAttributes> 
     </cod:requestSigningRequest> 
   </cod:requestSigning> 
</soapenv:Body> 
</soapenv:Envelope>
XML response
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/​soap/envelope/">
<S:Body>
  <requestSigningResponse xmlns="http://api.ws.symantec.com/webtrust/
codesigningservice">
      <return>
        <result>
            <resultCode>0</resultCode>
            <timeStamp>2013-01-27T15:55:12.051Z</timeStamp>
        </result>
        <signingSetID>392023</signingSetID>
        <signingSetStatus>SIGNED</signingSetStatus>
        <signingServiceType>Testing</ns2:signingServiceType>
        <signature>bqLBclRKJU5hUmE7sEsc0i32bnQN/rePpBhisK+MMF1LQP
        Iw7/goXskLo8qTU2K0p8SmRwRZPlmYKYO7HteyKlPdTSx3v asUPFrak3...
        </signature>
        <certificateInfo>
          <signingCertificates>
             <signingCertificate>-----BEGIN CERTIFICATE----- 
              MIID/DCCAuSgAwIBAgIDCMgzMA0GCSqGSIb3DQEBBQUAMHUxC
              zAJBgNVBAYTAlV T MRYwFAYDVQQIEw1NYXNzYWNodXNldHRz...
              -----END CERTIFICATE-----</signingCertificate>
              <signingCertificate>-----BEGIN CERTIFICATE----- 
              MIIFETCCBHqgAwIBAgIDBPCuMA0GCSqGSIb3DQEBBQUAMIGXMQ
              swCQYDVQQGEwJV UzEWMBQGA1UECBMNTWFzc2FjaHVzZXR0czE...
              -----END CERTIFICATE-----</signingCertificate>
          </signingCertificates>
        </certificateInfo>
      </return>
   </requestSigningResponse>
</S:Body>
</S:Envelope>

We use cookies to ensure that we give you the best experience on our website. By using this site, you agree to the Terms of Service.