/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Parameters that are used for Derived Unique Key Per Transaction (DUKPT)
* derivation algorithm.See Also:
AWS
* API Reference
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key
* Serial Number (KSN). This must be less than or equal to the strength of the BDK.
* For example, you can't use AES_128
as a derivation type for a BDK
* of AES_128
or TDES_2KEY
.
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key
* Serial Number (KSN). This must be less than or equal to the strength of the BDK.
* For example, you can't use AES_128
as a derivation type for a BDK
* of AES_128
or TDES_2KEY
.
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key
* Serial Number (KSN). This must be less than or equal to the strength of the BDK.
* For example, you can't use AES_128
as a derivation type for a BDK
* of AES_128
or TDES_2KEY
.
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key
* Serial Number (KSN). This must be less than or equal to the strength of the BDK.
* For example, you can't use AES_128
as a derivation type for a BDK
* of AES_128
or TDES_2KEY
.
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key
* Serial Number (KSN). This must be less than or equal to the strength of the BDK.
* For example, you can't use AES_128
as a derivation type for a BDK
* of AES_128
or TDES_2KEY
.
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key
* Serial Number (KSN). This must be less than or equal to the strength of the BDK.
* For example, you can't use AES_128
as a derivation type for a BDK
* of AES_128
or TDES_2KEY
.
The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline const Aws::String& GetKeySerialNumber() const{ return m_keySerialNumber; } /** *The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline bool KeySerialNumberHasBeenSet() const { return m_keySerialNumberHasBeenSet; } /** *The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline void SetKeySerialNumber(const Aws::String& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = value; } /** *The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline void SetKeySerialNumber(Aws::String&& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = std::move(value); } /** *The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline void SetKeySerialNumber(const char* value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber.assign(value); } /** *The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline DukptAttributes& WithKeySerialNumber(const Aws::String& value) { SetKeySerialNumber(value); return *this;} /** *The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline DukptAttributes& WithKeySerialNumber(Aws::String&& value) { SetKeySerialNumber(std::move(value)); return *this;} /** *The unique identifier known as Key Serial Number (KSN) that comes from an * encrypting device using DUKPT encryption method. The KSN is derived from the * encrypting device unique identifier and an internal transaction counter.
*/ inline DukptAttributes& WithKeySerialNumber(const char* value) { SetKeySerialNumber(value); return *this;} private: DukptDerivationType m_dukptDerivationType; bool m_dukptDerivationTypeHasBeenSet = false; Aws::String m_keySerialNumber; bool m_keySerialNumberHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws