Recipient.Builder.SetPsk(Byte[], Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets pre-shared key information to be used for message authentication.
[Android.Runtime.Register("setPsk", "([B[B)Landroid/crypto/hpke/Recipient$Builder;", "GetSetPsk_arrayBarrayBHandler", ApiSince=37)]
public virtual Android.Crypto.Hpke.Recipient.Builder SetPsk(byte[] psk, byte[] pskId);
[<Android.Runtime.Register("setPsk", "([B[B)Landroid/crypto/hpke/Recipient$Builder;", "GetSetPsk_arrayBarrayBHandler", ApiSince=37)>]
abstract member SetPsk : byte[] * byte[] -> Android.Crypto.Hpke.Recipient.Builder
override this.SetPsk : byte[] * byte[] -> Android.Crypto.Hpke.Recipient.Builder
Parameters
- psk
- Byte[]
the pre-shared secret key. This value cannot be null.
- pskId
- Byte[]
the id of the pre-shared key. This value cannot be null.
Returns
the Builder. This value cannot be null.
- Attributes
Remarks
Sets pre-shared key information to be used for message authentication.
Android reference for android.crypto.hpke.Recipient.Builder.setPsk.
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.