Overview

Packages

  • exceptions
  • messages
  • operations
  • PHP
  • service
  • types

Classes

  • PartnerAPIError
  • PartnerAPIOperation
  • PartnerAPIOperationAddEmailVerification
  • PartnerAPIOperationAddSanVerification
  • PartnerAPIOperationCancelOrder
  • PartnerAPIOperationGetCertificate
  • PartnerAPIOperationGetEmailVerification
  • PartnerAPIOperationGetExpiringCertificates
  • PartnerAPIOperationGetModifiedOrders
  • PartnerAPIOperationGetOrderByOrderID
  • PartnerAPIOperationGetOrdersByDateRange
  • PartnerAPIOperationGetOrderState
  • PartnerAPIOperationGetProductList
  • PartnerAPIOperationGetSanVerificationState
  • PartnerAPIOperationModifySNICertificate
  • PartnerAPIOperationOrderSNICertificate
  • PartnerAPIOperationPerformSanVerification
  • PartnerAPIOperationQuickOrder
  • PartnerAPIOperationReissueCertificate
  • PartnerAPIOperationRenewCertificate
  • PartnerAPIOperationRevokeCertificate
  • PartnerAPIOperationValidateOrderParameters
  • PartnerAPIOperationVerifyOrder
  • Overview
  • Package
  • Class
  • Tree
  1: <?php
  2: /**
  3:  * Partner API Library
  4:  * 
  5:  * @copyright Copyright (c) 2020 Asseco Data Systems SA
  6:  * @license license.txt
  7:  */
  8: 
  9: require_once 'operation.php';
 10: require_once 'certumPartnerAPI/messages/messageRevokeCertificate.php';
 11: require_once 'certumPartnerAPI/messages/messageRevokeCertificateResponse.php';
 12: 
 13: /*
 14: <operation name="revokeCertificate" parameterOrder="revokeCertificate">
 15:     <input message="tns:PartnerServicePortType_revokeCertificate">
 16:     </input>
 17:     <output message="tns:PartnerServicePortType_revokeCertificateResponse">
 18:     </output>
 19: </operation>
 20: */
 21: 
 22: /**
 23:  * This class represents the revokeCertificate WSDL operation.
 24:  *
 25:  * It is based on the PartnerAPIOperation class and derives some properties and methods from that class.
 26:  *
 27:  * @method PartnerAPIMessageRevokeCertificateResponse getResponseMessage() A complete response from a service
 28:  * 
 29:  * @package operations
 30:  */
 31: class PartnerAPIOperationRevokeCertificate extends PartnerAPIOperation {
 32: 
 33:     /**
 34:      * @var PartnerAPIMessageRevokeCertificate
 35:      */
 36:     protected $_input = NULL;
 37:     
 38:     /**
 39:      * @var PartnerAPIMessageRevokeCertificateResponse
 40:      */
 41:     protected $_output = NULL;
 42: 
 43:     /**
 44:      * @var string
 45:      */
 46:     protected $_operation = 'revokeCertificate';
 47:     
 48:     /**
 49:      * The constructor.
 50:      * 
 51:      * It initializes input and output data.
 52:      */
 53:     public function __construct() {
 54:         $this->_input  = new PartnerAPIMessageRevokeCertificate();
 55:         $this->_output = new PartnerAPIMessageRevokeCertificateResponse();
 56:     }
 57: 
 58:     /**
 59:      * Sets the serial number of a certificate to be revoked.
 60:      * 
 61:      * @param string $serialNumber
 62:      * @return PartnerAPIOperationRevokeCertificate
 63:      */
 64:     public function setSerialNumber($serialNumber) {
 65:         $this->_input->revokeCertificate->revokeCertificateParameters->setSerialNumber($serialNumber);
 66:         return $this;
 67:     }
 68: 
 69:     /**
 70:      * Sets the key compromitation date.
 71:      * 
 72:      * @param string $kcdate
 73:      * @return PartnerAPIOperationRevokeCertificate
 74:      */
 75:     public function setKeyCompromitationDate($kcdate) {
 76:         $this->_input->revokeCertificate->revokeCertificateParameters->setKeyCompromitationDate($kcdate);
 77:         return $this;
 78:     }
 79:     
 80:     /**
 81:      * Sets a note.
 82:      * 
 83:      * @param string $note
 84:      * @return PartnerAPIOperationRevokeCertificate
 85:      */
 86:     public function setNote($note) {
 87:         $this->_input->revokeCertificate->revokeCertificateParameters->setNote($note);
 88:         return $this;
 89:     }
 90: 
 91:     /**
 92:      * Sets the revocation reason.
 93:      * 
 94:      * @param string $reason
 95:      * @return PartnerAPIOperationRevokeCertificate
 96:      */
 97:     public function setRevocationReason($reason) {
 98:         $this->_input->revokeCertificate->revokeCertificateParameters->setRevocationReason($reason);
 99:         return $this;
100:     }
101: 
102: }
103: 
API documentation generated by ApiGen 2.8.0