Language

Hpke.Open(IPrivateKey, Byte[], Message, Byte[]) メソッド

定義

BASE モード (認証なし) を使用して 1 つの暗号テキストを開くワン ショット API。

[Android.Runtime.Register("open", "(Ljava/security/PrivateKey;[BLandroid/crypto/hpke/Message;[B)[B", "GetOpen_Ljava_security_PrivateKey_arrayBLandroid_crypto_hpke_Message_arrayBHandler", ApiSince=37)]
public virtual byte[] Open(Java.Security.IPrivateKey recipientKey, byte[]? info, Android.Crypto.Hpke.Message message, byte[]? aad);
[<Android.Runtime.Register("open", "(Ljava/security/PrivateKey;[BLandroid/crypto/hpke/Message;[B)[B", "GetOpen_Ljava_security_PrivateKey_arrayBLandroid_crypto_hpke_Message_arrayBHandler", ApiSince=37)>]
abstract member Open : Java.Security.IPrivateKey * byte[] * Android.Crypto.Hpke.Message * byte[] -> byte[]
override this.Open : Java.Security.IPrivateKey * byte[] * Android.Crypto.Hpke.Message * byte[] -> byte[]

パラメーター

recipientKey
IPrivateKey

受信者の秘密キー

info
Byte[]

アプリケーションが提供する情報 (null または空の場合があります)

message
Message

開くメッセージ

aad
Byte[]

オプションの追加の認証済みデータ (null または空)

戻り値

Byte[]

復号化されたプレーンテキスト

属性

注釈

BASE モード (認証なし) を使用して 1 つの暗号テキストを開くワン ショット API。

android.crypto.hpke.Hpke.openの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象