Language

Sender.Builder.SetSenderKey(IPrivateKey) Method

Definition

Sets the sender key to be used by the recipient for message authentication.

[Android.Runtime.Register("setSenderKey", "(Ljava/security/PrivateKey;)Landroid/crypto/hpke/Sender$Builder;", "GetSetSenderKey_Ljava_security_PrivateKey_Handler", ApiSince=37)]
public virtual Android.Crypto.Hpke.Sender.Builder SetSenderKey(Java.Security.IPrivateKey senderKey);
[<Android.Runtime.Register("setSenderKey", "(Ljava/security/PrivateKey;)Landroid/crypto/hpke/Sender$Builder;", "GetSetSenderKey_Ljava_security_PrivateKey_Handler", ApiSince=37)>]
abstract member SetSenderKey : Java.Security.IPrivateKey -> Android.Crypto.Hpke.Sender.Builder
override this.SetSenderKey : Java.Security.IPrivateKey -> Android.Crypto.Hpke.Sender.Builder

Parameters

senderKey
IPrivateKey

the sender's public key. This value cannot be null.

Returns

the Builder. This value cannot be null.

Attributes

Remarks

Sets the sender key to be used by the recipient for message authentication.

Android reference for android.crypto.hpke.Sender.Builder.setSenderKey.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to