"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.getAsymmetricCiphertextsOutput = exports.getAsymmetricCiphertexts = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of kms asymmetric ciphertexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const encrypt1 = volcengine.kms.getAsymmetricCiphertexts({
 *     algorithm: "RSAES_OAEP_SHA_256",
 *     keyId: "9601e1af-ad69-42df-****-eaf10ce6a3e9",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * const encrypt2 = volcengine.kms.getAsymmetricCiphertexts({
 *     algorithm: "SM2PKE",
 *     keyName: "ec-sm2",
 *     keyringName: "Tf-test",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * ```
 */
function getAsymmetricCiphertexts(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:kms/getAsymmetricCiphertexts:getAsymmetricCiphertexts", {
        "algorithm": args.algorithm,
        "keyId": args.keyId,
        "keyName": args.keyName,
        "keyringName": args.keyringName,
        "outputFile": args.outputFile,
        "plaintext": args.plaintext,
    }, opts);
}
exports.getAsymmetricCiphertexts = getAsymmetricCiphertexts;
/**
 * Use this data source to query detailed information of kms asymmetric ciphertexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const encrypt1 = volcengine.kms.getAsymmetricCiphertexts({
 *     algorithm: "RSAES_OAEP_SHA_256",
 *     keyId: "9601e1af-ad69-42df-****-eaf10ce6a3e9",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * const encrypt2 = volcengine.kms.getAsymmetricCiphertexts({
 *     algorithm: "SM2PKE",
 *     keyName: "ec-sm2",
 *     keyringName: "Tf-test",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * ```
 */
function getAsymmetricCiphertextsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getAsymmetricCiphertexts(a, opts));
}
exports.getAsymmetricCiphertextsOutput = getAsymmetricCiphertextsOutput;
//# sourceMappingURL=getAsymmetricCiphertexts.js.map