1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`VerifyAuthRequestCryptogram`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`key_identifier(impl Into<String>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::key_identifier) / [`set_key_identifier(Option<String>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::set_key_identifier): <p>The <code>keyARN</code> of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.</p>
    ///   - [`transaction_data(impl Into<String>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::transaction_data) / [`set_transaction_data(Option<String>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::set_transaction_data): <p>The transaction data that Amazon Web Services Payment Cryptography uses for ARQC verification. The same transaction is used for ARQC generation outside of Amazon Web Services Payment Cryptography.</p>
    ///   - [`auth_request_cryptogram(impl Into<String>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::auth_request_cryptogram) / [`set_auth_request_cryptogram(Option<String>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::set_auth_request_cryptogram): <p>The auth request cryptogram imported into Amazon Web Services Payment Cryptography for ARQC verification using a major encryption key and transaction data.</p>
    ///   - [`major_key_derivation_mode(MajorKeyDerivationMode)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::major_key_derivation_mode) / [`set_major_key_derivation_mode(Option<MajorKeyDerivationMode>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::set_major_key_derivation_mode): <p>The method to use when deriving the major encryption key for ARQC verification within Amazon Web Services Payment Cryptography. The same key derivation mode was used for ARQC generation outside of Amazon Web Services Payment Cryptography.</p>
    ///   - [`session_key_derivation_attributes(SessionKeyDerivation)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::session_key_derivation_attributes) / [`set_session_key_derivation_attributes(Option<SessionKeyDerivation>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::set_session_key_derivation_attributes): <p>The attributes and values to use for deriving a session key for ARQC verification within Amazon Web Services Payment Cryptography. The same attributes were used for ARQC generation outside of Amazon Web Services Payment Cryptography.</p>
    ///   - [`auth_response_attributes(CryptogramAuthResponse)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::auth_response_attributes) / [`set_auth_response_attributes(Option<CryptogramAuthResponse>)`](crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::set_auth_response_attributes): <p>The attributes and values for auth request cryptogram verification. These parameters are required in case using ARPC Method 1 or Method 2 for ARQC verification.</p>
    /// - On success, responds with [`VerifyAuthRequestCryptogramOutput`](crate::operation::verify_auth_request_cryptogram::VerifyAuthRequestCryptogramOutput) with field(s):
    ///   - [`key_arn(Option<String>)`](crate::operation::verify_auth_request_cryptogram::VerifyAuthRequestCryptogramOutput::key_arn): <p>The <code>keyARN</code> of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.</p>
    ///   - [`key_check_value(Option<String>)`](crate::operation::verify_auth_request_cryptogram::VerifyAuthRequestCryptogramOutput::key_check_value): <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.</p>
    ///   - [`auth_response_value(Option<String>)`](crate::operation::verify_auth_request_cryptogram::VerifyAuthRequestCryptogramOutput::auth_response_value): <p>The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.</p>
    /// - On failure, responds with [`SdkError<VerifyAuthRequestCryptogramError>`](crate::operation::verify_auth_request_cryptogram::VerifyAuthRequestCryptogramError)
    pub fn verify_auth_request_cryptogram(
        &self,
    ) -> crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder {
        crate::operation::verify_auth_request_cryptogram::builders::VerifyAuthRequestCryptogramFluentBuilder::new(self.handle.clone())
    }
}