requestDirectorySigning

After uploading a directory of files to sign, use this operation to request signing on those files.

Parameters

authToken, publisherID, signingSetID, inclusionRegEx

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.

signingSetID

int

Optional. A unique identifier that is automatically assigned to a signing request after you create it.

inclusionRegEx

string

Required. A regular expression to specify the types of files in the directory tree that should be signed. For example, *.exe, a*.exe. To sign all valid files, pass in an empty string.

Response

Table: Response

Name

Type

Description

result

Result

Includes success code and timestamp for the request.

signingSetID

int

signingSetStatus

string

See Signing set status codes.

signature

string

certificateInfo

CertificateInfoType

XML request
<soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/​soap/envelope/" 
xmlns:cod="http://api.ws.symantec.com/​webtrust/codesigningservice">  
<soapenv:Body> 
   <cod:requestDirectorySigning> 
     <cod:requestDirectorySigningRequest> 
        <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:signingSetID>392023</cod:signingSetID>
								<cod:inclusionRegEx>.exe,*.exe,a*.exe</cod:inclusionRegEx>
     </cod:requestDirectorySigningRequest> 
   </cod:requestDirectorySigning> 
</soapenv:Body> 
</soapenv:Envelope>
XML response
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <requestDirectorySigningResponse xmlns:ns2="http://api.ws.symantec.com/webtrust/codesigningservice">
         <return>
            <result>
               <resultCode>0</ns2:resultCode>
               <timeStamp>2015-07-16T15:54:51.621+05:30</ns2:timeStamp>
            </result>
            <ns2:signingSetStatus>SIGNING_REQUESTED</ns2:signingSetStatus>
         </return>
      </requestDirectorySigningResponse>
   </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.