Recipient.Builder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| Recipient.Builder(IntPtr, JniHandleOwnership) |
创建表示现有Java对象的托管实例。 |
| Recipient.Builder(Hpke, Byte[], IPrivateKey) |
创建生成器。 |
Recipient.Builder(IntPtr, JniHandleOwnership)
创建表示现有Java对象的托管实例。
protected Builder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Crypto.Hpke.Recipient.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Crypto.Hpke.Recipient.Builder
参数
- javaReference
-
IntPtr
nativeint
对Java对象的 JNI 引用。
- transfer
- JniHandleOwnership
指定运行时如何处理 JNI 引用,包括其发布和对等注册。
注解
运行时调用此构造函数来创建现有Java对象的托管表示形式。
适用于
Recipient.Builder(Hpke, Byte[], IPrivateKey)
创建生成器。
[Android.Runtime.Register(".ctor", "(Landroid/crypto/hpke/Hpke;[BLjava/security/PrivateKey;)V", "", ApiSince=37)]
public Builder(Android.Crypto.Hpke.Hpke hpke, byte[] encapsulated, Java.Security.IPrivateKey recipientKey);
[<Android.Runtime.Register(".ctor", "(Landroid/crypto/hpke/Hpke;[BLjava/security/PrivateKey;)V", "", ApiSince=37)>]
new Android.Crypto.Hpke.Recipient.Builder : Android.Crypto.Hpke.Hpke * byte[] * Java.Security.IPrivateKey -> Android.Crypto.Hpke.Recipient.Builder
参数
- hpke
- Hpke
为接收方提供算法套件和提供程序的 HPKE 实例。
- encapsulated
- Byte[]
封装的临时密钥 Sender
- recipientKey
- IPrivateKey
收件人的私钥
- 特性
注解
创建生成器。
Android 参考。android.crypto.hpke.Recipient.Builder.Builder
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。