/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the payment-cryptography-data-2022-02-03.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.PaymentCryptographyData
{
///
/// Constants used for properties of type DukptDerivationType.
///
public class DukptDerivationType : ConstantClass
{
///
/// Constant AES_128 for DukptDerivationType
///
public static readonly DukptDerivationType AES_128 = new DukptDerivationType("AES_128");
///
/// Constant AES_192 for DukptDerivationType
///
public static readonly DukptDerivationType AES_192 = new DukptDerivationType("AES_192");
///
/// Constant AES_256 for DukptDerivationType
///
public static readonly DukptDerivationType AES_256 = new DukptDerivationType("AES_256");
///
/// Constant TDES_2KEY for DukptDerivationType
///
public static readonly DukptDerivationType TDES_2KEY = new DukptDerivationType("TDES_2KEY");
///
/// Constant TDES_3KEY for DukptDerivationType
///
public static readonly DukptDerivationType TDES_3KEY = new DukptDerivationType("TDES_3KEY");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DukptDerivationType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DukptDerivationType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DukptDerivationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DukptEncryptionMode.
///
public class DukptEncryptionMode : ConstantClass
{
///
/// Constant CBC for DukptEncryptionMode
///
public static readonly DukptEncryptionMode CBC = new DukptEncryptionMode("CBC");
///
/// Constant ECB for DukptEncryptionMode
///
public static readonly DukptEncryptionMode ECB = new DukptEncryptionMode("ECB");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DukptEncryptionMode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DukptEncryptionMode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DukptEncryptionMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DukptKeyVariant.
///
public class DukptKeyVariant : ConstantClass
{
///
/// Constant BIDIRECTIONAL for DukptKeyVariant
///
public static readonly DukptKeyVariant BIDIRECTIONAL = new DukptKeyVariant("BIDIRECTIONAL");
///
/// Constant REQUEST for DukptKeyVariant
///
public static readonly DukptKeyVariant REQUEST = new DukptKeyVariant("REQUEST");
///
/// Constant RESPONSE for DukptKeyVariant
///
public static readonly DukptKeyVariant RESPONSE = new DukptKeyVariant("RESPONSE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DukptKeyVariant(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DukptKeyVariant FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DukptKeyVariant(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EncryptionMode.
///
public class EncryptionMode : ConstantClass
{
///
/// Constant CBC for EncryptionMode
///
public static readonly EncryptionMode CBC = new EncryptionMode("CBC");
///
/// Constant CFB for EncryptionMode
///
public static readonly EncryptionMode CFB = new EncryptionMode("CFB");
///
/// Constant CFB1 for EncryptionMode
///
public static readonly EncryptionMode CFB1 = new EncryptionMode("CFB1");
///
/// Constant CFB128 for EncryptionMode
///
public static readonly EncryptionMode CFB128 = new EncryptionMode("CFB128");
///
/// Constant CFB64 for EncryptionMode
///
public static readonly EncryptionMode CFB64 = new EncryptionMode("CFB64");
///
/// Constant CFB8 for EncryptionMode
///
public static readonly EncryptionMode CFB8 = new EncryptionMode("CFB8");
///
/// Constant ECB for EncryptionMode
///
public static readonly EncryptionMode ECB = new EncryptionMode("ECB");
///
/// Constant OFB for EncryptionMode
///
public static readonly EncryptionMode OFB = new EncryptionMode("OFB");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public EncryptionMode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static EncryptionMode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator EncryptionMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MacAlgorithm.
///
public class MacAlgorithm : ConstantClass
{
///
/// Constant CMAC for MacAlgorithm
///
public static readonly MacAlgorithm CMAC = new MacAlgorithm("CMAC");
///
/// Constant HMAC_SHA224 for MacAlgorithm
///
public static readonly MacAlgorithm HMAC_SHA224 = new MacAlgorithm("HMAC_SHA224");
///
/// Constant HMAC_SHA256 for MacAlgorithm
///
public static readonly MacAlgorithm HMAC_SHA256 = new MacAlgorithm("HMAC_SHA256");
///
/// Constant HMAC_SHA384 for MacAlgorithm
///
public static readonly MacAlgorithm HMAC_SHA384 = new MacAlgorithm("HMAC_SHA384");
///
/// Constant HMAC_SHA512 for MacAlgorithm
///
public static readonly MacAlgorithm HMAC_SHA512 = new MacAlgorithm("HMAC_SHA512");
///
/// Constant ISO9797_ALGORITHM1 for MacAlgorithm
///
public static readonly MacAlgorithm ISO9797_ALGORITHM1 = new MacAlgorithm("ISO9797_ALGORITHM1");
///
/// Constant ISO9797_ALGORITHM3 for MacAlgorithm
///
public static readonly MacAlgorithm ISO9797_ALGORITHM3 = new MacAlgorithm("ISO9797_ALGORITHM3");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public MacAlgorithm(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static MacAlgorithm FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator MacAlgorithm(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MajorKeyDerivationMode.
///
public class MajorKeyDerivationMode : ConstantClass
{
///
/// Constant EMV_OPTION_A for MajorKeyDerivationMode
///
public static readonly MajorKeyDerivationMode EMV_OPTION_A = new MajorKeyDerivationMode("EMV_OPTION_A");
///
/// Constant EMV_OPTION_B for MajorKeyDerivationMode
///
public static readonly MajorKeyDerivationMode EMV_OPTION_B = new MajorKeyDerivationMode("EMV_OPTION_B");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public MajorKeyDerivationMode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static MajorKeyDerivationMode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator MajorKeyDerivationMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PaddingType.
///
public class PaddingType : ConstantClass
{
///
/// Constant OAEP_SHA1 for PaddingType
///
public static readonly PaddingType OAEP_SHA1 = new PaddingType("OAEP_SHA1");
///
/// Constant OAEP_SHA256 for PaddingType
///
public static readonly PaddingType OAEP_SHA256 = new PaddingType("OAEP_SHA256");
///
/// Constant OAEP_SHA512 for PaddingType
///
public static readonly PaddingType OAEP_SHA512 = new PaddingType("OAEP_SHA512");
///
/// Constant PKCS1 for PaddingType
///
public static readonly PaddingType PKCS1 = new PaddingType("PKCS1");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public PaddingType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static PaddingType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator PaddingType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PinBlockFormatForPinData.
///
public class PinBlockFormatForPinData : ConstantClass
{
///
/// Constant ISO_FORMAT_0 for PinBlockFormatForPinData
///
public static readonly PinBlockFormatForPinData ISO_FORMAT_0 = new PinBlockFormatForPinData("ISO_FORMAT_0");
///
/// Constant ISO_FORMAT_3 for PinBlockFormatForPinData
///
public static readonly PinBlockFormatForPinData ISO_FORMAT_3 = new PinBlockFormatForPinData("ISO_FORMAT_3");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public PinBlockFormatForPinData(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static PinBlockFormatForPinData FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator PinBlockFormatForPinData(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SessionKeyDerivationMode.
///
public class SessionKeyDerivationMode : ConstantClass
{
///
/// Constant AMEX for SessionKeyDerivationMode
///
public static readonly SessionKeyDerivationMode AMEX = new SessionKeyDerivationMode("AMEX");
///
/// Constant EMV_COMMON_SESSION_KEY for SessionKeyDerivationMode
///
public static readonly SessionKeyDerivationMode EMV_COMMON_SESSION_KEY = new SessionKeyDerivationMode("EMV_COMMON_SESSION_KEY");
///
/// Constant EMV2000 for SessionKeyDerivationMode
///
public static readonly SessionKeyDerivationMode EMV2000 = new SessionKeyDerivationMode("EMV2000");
///
/// Constant MASTERCARD_SESSION_KEY for SessionKeyDerivationMode
///
public static readonly SessionKeyDerivationMode MASTERCARD_SESSION_KEY = new SessionKeyDerivationMode("MASTERCARD_SESSION_KEY");
///
/// Constant VISA for SessionKeyDerivationMode
///
public static readonly SessionKeyDerivationMode VISA = new SessionKeyDerivationMode("VISA");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public SessionKeyDerivationMode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static SessionKeyDerivationMode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator SessionKeyDerivationMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VerificationFailedReason.
///
public class VerificationFailedReason : ConstantClass
{
///
/// Constant INVALID_AUTH_REQUEST_CRYPTOGRAM for VerificationFailedReason
///
public static readonly VerificationFailedReason INVALID_AUTH_REQUEST_CRYPTOGRAM = new VerificationFailedReason("INVALID_AUTH_REQUEST_CRYPTOGRAM");
///
/// Constant INVALID_MAC for VerificationFailedReason
///
public static readonly VerificationFailedReason INVALID_MAC = new VerificationFailedReason("INVALID_MAC");
///
/// Constant INVALID_PIN for VerificationFailedReason
///
public static readonly VerificationFailedReason INVALID_PIN = new VerificationFailedReason("INVALID_PIN");
///
/// Constant INVALID_VALIDATION_DATA for VerificationFailedReason
///
public static readonly VerificationFailedReason INVALID_VALIDATION_DATA = new VerificationFailedReason("INVALID_VALIDATION_DATA");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public VerificationFailedReason(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static VerificationFailedReason FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator VerificationFailedReason(string value)
{
return FindValue(value);
}
}
}