generateCertificate

Generates a code signing certificate.

Parameters

authToken, publisherID, signingServiceName, certificateFriendlyName

Table: Parameters

Name

Type

Description

authToken

AuthToken

Required. The container for your authentication token (userName, password, and partnerCode).

publisherID

int

Required. An ID that identifies a workgroup account. The original publisherSignup response returns this ID.

signingServiceName

string

Required. The name of the signing service.

certificateFriendlyName

string

Required. A recognizable name for the certificate.

Response

Table: Response

Name

Type

Description

result

Result

Includes the success code and timestamp for the request.

certificateInfo

CertificateInfoType

Contains a string array of signing certificates.

XML request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cod="http://api.ws.symantec.com/webtrust/codesigningservice">
   <soapenv:Header/>
   <soapenv:Body>
      <cod:generateCertificate>
         <!--Optional:-->
         <cod:generateCertificateRequest>
            <!--You may enter the following 4 items in any order-->
            <cod:authToken>
               <!--You may enter the following 3 items in any order-->
               <cod:userName>username</cod:userName>  
                <cod:password>password </cod:password>  
                <cod:partnerCode>partnercode</cod:partnerCode>
            </cod:authToken>
            <!--Optional:-->
            <cod:publisherID>3127776</cod:publisherID>
            <cod:signingServiceName>Windows Hash Signing
            </cod:signingServiceName>
            <cod:certificateFriendlyName>cerrt1
            </cod:certificateFriendlyName>
         </cod:generateCertificateRequest>
      </cod:generateCertificate>
   </soapenv:Body>
</soapenv:Envelope>
XML response
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:generateCertificateResponse xmlns:ns2=
        "http://api.ws.symantec.com/webtrust/codesigningservice">
         <ns2:return>
            <ns2:result>
               <ns2:resultCode>0</ns2:resultCode>
               <ns2:timeStamp>2015-11-23T13:56:58.087+05:30</ns2:timeStamp>
            </ns2:result>
            <ns2:certificateInfo>
               <ns2:signingCertificates>
                  <ns2:signingCertificate>ICA/CA Cert
                  </ns2:signingCertificate>
                  <ns2:signingCertificate>Code Signing Cert
                  </ns2:signingCertificate>
               </ns2:signingCertificates>
            </ns2:certificateInfo>
         </ns2:return>
      </ns2:generateCertificateResponse>
   </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.