aws_sdk_paymentcryptographydata/client/
generate_mac_emv_pin_change.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GenerateMacEmvPinChange`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`new_pin_pek_identifier(impl Into<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::new_pin_pek_identifier) / [`set_new_pin_pek_identifier(Option<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::set_new_pin_pek_identifier):<br>required: **true**<br><p>The <code>keyARN</code> of the PEK protecting the incoming new encrypted PIN block.</p><br>
7    ///   - [`new_encrypted_pin_block(impl Into<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::new_encrypted_pin_block) / [`set_new_encrypted_pin_block(Option<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::set_new_encrypted_pin_block):<br>required: **true**<br><p>The incoming new encrypted PIN block data for offline pin change on an EMV card.</p><br>
8    ///   - [`pin_block_format(PinBlockFormatForEmvPinChange)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::pin_block_format) / [`set_pin_block_format(Option<PinBlockFormatForEmvPinChange>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::set_pin_block_format):<br>required: **true**<br><p>The PIN encoding format of the incoming new encrypted PIN block as specified in ISO 9564.</p><br>
9    ///   - [`secure_messaging_integrity_key_identifier(impl Into<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::secure_messaging_integrity_key_identifier) / [`set_secure_messaging_integrity_key_identifier(Option<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::set_secure_messaging_integrity_key_identifier):<br>required: **true**<br><p>The <code>keyARN</code> of the issuer master key (IMK-SMI) used to authenticate the issuer script response.</p><br>
10    ///   - [`secure_messaging_confidentiality_key_identifier(impl Into<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::secure_messaging_confidentiality_key_identifier) / [`set_secure_messaging_confidentiality_key_identifier(Option<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::set_secure_messaging_confidentiality_key_identifier):<br>required: **true**<br><p>The <code>keyARN</code> of the issuer master key (IMK-SMC) used to protect the PIN block data in the issuer script response.</p><br>
11    ///   - [`message_data(impl Into<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::message_data) / [`set_message_data(Option<String>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::set_message_data):<br>required: **true**<br><p>The message data is the APDU command from the card reader or terminal. The target encrypted PIN block, after translation to ISO2 format, is appended to this message data to generate an issuer script response.</p><br>
12    ///   - [`derivation_method_attributes(DerivationMethodAttributes)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::derivation_method_attributes) / [`set_derivation_method_attributes(Option<DerivationMethodAttributes>)`](crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::set_derivation_method_attributes):<br>required: **true**<br><p>The attributes and data values to derive payment card specific confidentiality and integrity keys.</p><br>
13    /// - On success, responds with [`GenerateMacEmvPinChangeOutput`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput) with field(s):
14    ///   - [`new_pin_pek_arn(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::new_pin_pek_arn): <p>Returns the <code>keyArn</code> of the PEK protecting the incoming new encrypted PIN block.</p>
15    ///   - [`secure_messaging_integrity_key_arn(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::secure_messaging_integrity_key_arn): <p>Returns the <code>keyArn</code> of the IMK-SMI used by the operation.</p>
16    ///   - [`secure_messaging_confidentiality_key_arn(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::secure_messaging_confidentiality_key_arn): <p>Returns the <code>keyArn</code> of the IMK-SMC used by the operation.</p>
17    ///   - [`mac(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::mac): <p>Returns the mac of the issuer script containing message data and appended target encrypted pin block in ISO2 format.</p>
18    ///   - [`encrypted_pin_block(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::encrypted_pin_block): <p>Returns the incoming new encrpted PIN block.</p>
19    ///   - [`new_pin_pek_key_check_value(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::new_pin_pek_key_check_value): <p>The key check value (KCV) of the PEK uprotecting the incoming new encrypted PIN block.</p>
20    ///   - [`secure_messaging_integrity_key_check_value(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::secure_messaging_integrity_key_check_value): <p>The key check value (KCV) of the SMI issuer master key used by the operation.</p>
21    ///   - [`secure_messaging_confidentiality_key_check_value(String)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::secure_messaging_confidentiality_key_check_value): <p>The key check value (KCV) of the SMC issuer master key used by the operation.</p>
22    ///   - [`visa_amex_derivation_outputs(Option<VisaAmexDerivationOutputs>)`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeOutput::visa_amex_derivation_outputs): <p>The attribute values used for Amex and Visa derivation methods.</p>
23    /// - On failure, responds with [`SdkError<GenerateMacEmvPinChangeError>`](crate::operation::generate_mac_emv_pin_change::GenerateMacEmvPinChangeError)
24    pub fn generate_mac_emv_pin_change(&self) -> crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder {
25        crate::operation::generate_mac_emv_pin_change::builders::GenerateMacEmvPinChangeFluentBuilder::new(self.handle.clone())
26    }
27}