"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.asymmetricPlaintextsOutput = exports.asymmetricPlaintexts = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of kms asymmetric plaintexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const encryptStable = new volcengine.kms.AsymmetricCiphertext("encryptStable", {
 *     keyId: "9601e1af-ad69-42df-****-eaf10ce6a3e9",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxLg==",
 *     algorithm: "RSAES_OAEP_SHA_256",
 * });
 * const decrypt = pulumi.all([encryptStable.keyId, encryptStable.ciphertextBlob]).apply(([keyId, ciphertextBlob]) => volcengine.kms.getAsymmetricPlaintextsOutput({
 *     keyId: keyId,
 *     ciphertextBlob: ciphertextBlob,
 *     algorithm: "RSAES_OAEP_SHA_256",
 * }));
 * ```
 */
/** @deprecated volcengine.kms.AsymmetricPlaintexts has been deprecated in favor of volcengine.kms.getAsymmetricPlaintexts */
function asymmetricPlaintexts(args, opts) {
    pulumi.log.warn("asymmetricPlaintexts is deprecated: volcengine.kms.AsymmetricPlaintexts has been deprecated in favor of volcengine.kms.getAsymmetricPlaintexts");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:kms/asymmetricPlaintexts:AsymmetricPlaintexts", {
        "algorithm": args.algorithm,
        "ciphertextBlob": args.ciphertextBlob,
        "keyId": args.keyId,
        "keyName": args.keyName,
        "keyringName": args.keyringName,
        "outputFile": args.outputFile,
    }, opts);
}
exports.asymmetricPlaintexts = asymmetricPlaintexts;
/**
 * Use this data source to query detailed information of kms asymmetric plaintexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const encryptStable = new volcengine.kms.AsymmetricCiphertext("encryptStable", {
 *     keyId: "9601e1af-ad69-42df-****-eaf10ce6a3e9",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxLg==",
 *     algorithm: "RSAES_OAEP_SHA_256",
 * });
 * const decrypt = pulumi.all([encryptStable.keyId, encryptStable.ciphertextBlob]).apply(([keyId, ciphertextBlob]) => volcengine.kms.getAsymmetricPlaintextsOutput({
 *     keyId: keyId,
 *     ciphertextBlob: ciphertextBlob,
 *     algorithm: "RSAES_OAEP_SHA_256",
 * }));
 * ```
 */
/** @deprecated volcengine.kms.AsymmetricPlaintexts has been deprecated in favor of volcengine.kms.getAsymmetricPlaintexts */
function asymmetricPlaintextsOutput(args, opts) {
    return pulumi.output(args).apply((a) => asymmetricPlaintexts(a, opts));
}
exports.asymmetricPlaintextsOutput = asymmetricPlaintextsOutput;
//# sourceMappingURL=asymmetricPlaintexts.js.map