getEVCertificateStatus

Gets the status of an extended validation (EV) 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. The ID of the workgroup that owns the certificate.

signingServiceName

string

Required. The name of the signing service.

certificateFriendlyName

string

Required. The friendly name of an EV certificate only.

Response

Table: Response

Name

Type

Description

result

Result

Includes the resultCode and timestamp for the request.

EVCertificateStatus

string

The status of the EV certificate. Indicates whether the certificate is enabled or disabled for signing.

XML request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:cod="http://api.ws.symantec.com/webtrust/codesigningservice">
<soapenv:Body>
      <cod:getEVCertificateStatus>
         <!--Optional:-->
         <cod:getEVCertificateStatusRequest>
            <!--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>1234567</cod:publisherID>
            <cod:signingServiceName>Windows Hash Signing
            </cod:signingServiceName>
            <cod:certificateFriendlyName>cert1
            </cod:certificateFriendlyName>
         </cod:getEVCertificateStatusRequest>
      </cod:getEVCertificateStatus>
   </soapenv:Body>
</soapenv:Envelope>
XML response (success)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
 <ns2:getEVCertificateStatusResponse 
  xmlns:ns2="http://api.ws.symantec.com/webtrust/codesigningservice">
 <ns2:return>
 <ns2:result>
 <ns2:resultCode>0</ns2:resultCode>
 <ns2:timeStamp>2016-10-18T12:35:46.261+05:30</ns2:timeStamp>
 </ns2:result>
 <ns2:EVCertificateStatus>EV Certificate is enabled for signing.
  </ns2:EVCertificateStatus>
 </ns2:return>
 </ns2:getEVCertificateStatusResponse>
 </S:Body>
</S:Envelope>
XML response (error)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
 <ns2:getEVCertificateStatusResponse 
  xmlns:ns2="http://api.ws.symantec.com/webtrust/codesigningservice">
 <ns2:return>
 <ns2:result>
 <ns2:resultCode>-1</ns2:resultCode>
 <ns2:errors>
 <ns2:error>
 <ns2:errorCode>-100</ns2:errorCode>
 <ns2:errorMessage>Internal Error: Invalid Certificate Friendly Name - The Certificate Type is not EV!
  </ns2:errorMessage>
 </ns2:error>
 </ns2:errors>
 <ns2:timeStamp>2016-10-18T12:47:18.646+05:30</ns2:timeStamp>
 </ns2:result>
 </ns2:return>
 </ns2:getEVCertificateStatusResponse>
 </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.