Skip to main content

aws_esdk/deps/aws_cryptography_primitives/client/
rsa_decrypt.rs

1// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0
3// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4impl crate::deps::aws_cryptography_primitives::client::Client {
5    /// Constructs a fluent builder for the [`RSADecrypt`](crate::operation::rsa_decrypt::builders::RsaDecryptFluentBuilder) operation.
6    ///
7    /// - The fluent builder is configurable:
8    ///   - [`cipher_text(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::rsa_decrypt::builders::RSADecryptFluentBuilder::cipher_text) / [`set_cipher_text(Option<::aws_smithy_types::Blob>)`](crate::operation::rsa_decrypt::builders::RSADecryptFluentBuilder::set_cipher_text): (undocumented)<br>
9    ///   - [`padding(impl Into<Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>>)`](crate::operation::rsa_decrypt::builders::RSADecryptFluentBuilder::padding) / [`set_padding(Option<crate::deps::aws_cryptography_primitives::types::RsaPaddingMode>)`](crate::operation::rsa_decrypt::builders::RSADecryptFluentBuilder::set_padding): (undocumented)<br>
10    ///   - [`private_key(impl Into<Option<::aws_smithy_types::Blob>>)`](crate::operation::rsa_decrypt::builders::RSADecryptFluentBuilder::private_key) / [`set_private_key(Option<::aws_smithy_types::Blob>)`](crate::operation::rsa_decrypt::builders::RSADecryptFluentBuilder::set_private_key): (undocumented)<br>
11    /// - On success, responds with [`RsaDecryptOutput`](crate::operation::rsa_decrypt::RsaDecryptOutput) with field(s):
12    ///   - [`plaintext(Option<::aws_smithy_types::Blob>)`](crate::operation::rsa_decrypt::RSADecryptOutput::plaintext): (undocumented)
13    /// - On failure, responds with [`SdkError<RsaDecryptError>`](crate::operation::rsa_decrypt::RsaDecryptError)
14    pub fn rsa_decrypt(&self) -> crate::deps::aws_cryptography_primitives::operation::rsa_decrypt::builders::RsaDecryptFluentBuilder{
15        crate::deps::aws_cryptography_primitives::operation::rsa_decrypt::builders::RsaDecryptFluentBuilder::new(self.clone())
16    }
17}