Skip to main content

In-Person Payments

UpdateKeyRequest.hpp

Last updated: 01-Aug-2024

namespace verifone_sdk

class UpdateKeyRequest

  • #include <UpdateKeyRequest.hpp>
  • Allows SLIM application using Master/Session Key-based encryption for host communication to request update of current session key.

Public Functions

virtual~UpdateKeyRequest()
virtual void setInitializationVector(const std::vector<uint8_t> &initVector) = 0

  • Set initialization vector.

virtual void setPropData(const std::vector<uint8_t> &propData) = 0

  • Set proprietary data.

virtual void setKeyCheckVal(const std::vector<uint8_t> &keyCheckVal) = 0

  • Set Key check value.

Public Static Functions

static std::shared_ptr<UpdateKeyRequest> createWith(const std::string &name, const std::string &id, EncryptionTypetype, const std::vector<uint8_t> &keyData)

  • Creates a UpdateKeyRequest
    • Return: UpdateKeyRequest
    • Parameters:
      • name: name of crypto interface
      • id: the Master key id to be used.
      • type: the encryption type to be used, EncryptionType
      • keyData: the Key value or DUKPT init key.

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo