getCertificateList

Gets a list of fixed-pool certificates for a workgroup and signing service.

Parameters

authToken, publisherID, signingServiceName, returnEvInd

Table: Parameters

Name

Type

Description

authToken

AuthToken

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

publisherID

int

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

signingServiceName

string

The name of the signing service.

returnEvInd

bool

Optional. If TRUE, the response also specifies whether a certificate is extended validated (EV) or not.

Response

Table: Response

Name

Type

Description

result

Result

Includes the success code and timestamp for the request.

certificateFriendlyNameList

string[]

Contains a string array of the fixed-pool certificates for the signing service.

evIndCertificateFriendlyNameList

string[]

Replaces certificateFriendlyNameList, if returnEvInd is TRUE. In addition to the information in certificateFriendlyNameList, specifies whether a certificate is EV or not.

If returnEvInd is FALSE, the response is the same as in the case of a request without the returnEvInd parameter.

XML request without returnEvInd
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:cod="http://api.ws.symantec.com/webtrust/codesigningservice">
   <soapenv:Header/>
   <soapenv:Body>
      <cod:getCertificateList>
         <!--Optional:-->
         <cod:getCertificateListRequest>
            <!--You may enter the following 3 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:getCertificateListRequest>
      </cod:getCertificateList>
   </soapenv:Body>
</soapenv:Envelope>
XML response without returnEvInd
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:getCertificateListResponse 
      xmlns:ns2="http://api.ws.symantec.com/webtrust/codesigningservice">
         <ns2:return>
            <ns2:result>
               <ns2:resultCode>0</ns2:resultCode>
               <ns2:timeStamp>2015-11-23T14:02:31.975+05:30</ns2:timeStamp>
            </ns2:result>
            <ns2:certificateFriendlyNameList>
               <ns2:certficateFriendlyName>cert1</ns2:certficateFriendlyName>
               <ns2:certficateFriendlyName>test1</ns2:certficateFriendlyName>
               <ns2:certficateFriendlyName>test2</ns2:certficateFriendlyName>
               <ns2:certficateFriendlyName>cert2</ns2:certficateFriendlyName>
               <ns2:certficateFriendlyName>test3</ns2:certficateFriendlyName>
               <ns2:certficateFriendlyName>cert3</ns2:certficateFriendlyName>
               <ns2:certficateFriendlyName>cert4</ns2:certficateFriendlyName>
            </ns2:certificateFriendlyNameList>
         </ns2:return>
      </ns2:getCertificateListResponse>
   </S:Body>
</S:Envelope>


XML request with returnEvInd
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:cod="http://api.ws.symantec.com/webtrust/codesigningservice">
<soapenv:Body>
<cod:getCertificateList>
         <!--Optional:-->
         <cod:getCertificateListRequest>
            <!--You may enter the following 3 items in any order-->
            <cod:authToken>
               <!--You may enter the following 3 items in any order-->
                          <cod:userName></cod:userName>  
                          <cod:password></cod:password>  
                          <cod:partnerCode></cod:partnerCode>
            </cod:authToken>
            <!--Optional:-->
            <cod:publisherID></cod:publisherID>
            <cod:signingServiceName></cod:signingServiceName>
            <cod:returnEvInd>true</cod:returnEvInd>
         </cod:getCertificateListRequest>
      </cod:getCertificateList>
   </soapenv:Body>
</soapenv:Envelope>
XML response with returnEvInd set to TRUE
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getCertificateListResponse 
 xmlns:ns2="http://api.ws.symantec.com/webtrust/codesigningservice">
         <ns2:return>
            <ns2:result>
               <ns2:resultCode></ns2:resultCode>
               <ns2:timeStamp></ns2:timeStamp>
            </ns2:result>
            <ns2:evIndCertificateFriendlyNameList>
               <ns2:evIndCertificateFriendlyName>
                  <ns2:certficateFriendlyName></ns2:certficateFriendlyName>
                  <ns2:isEvCertificate>False</ns2:isEvCertificate>
                </ns2:evIndCertificateFriendlyName>
                <ns2:evIndCertificateFriendlyName>
                  <ns2:certficateFriendlyName></ns2:certficateFriendlyName>
                  <ns2:isEvCertificate></ns2:isEvCertificate>
                </ns2:evIndCertificateFriendlyName>
                <ns2:evIndCertificateFriendlyName>
                  <ns2:certficateFriendlyName></ns2:certficateFriendlyName>
                  <ns2:isEvCertificate>True</ns2:isEvCertificate>
                </ns2:evIndCertificateFriendlyName>
            </ns2:evIndCertificateFriendlyNameList>
         </ns2:return>
      </ns2:getCertificateListResponse>
   </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.