Language

Hpke.GetSuiteName Method

Definition

Generates a full HPKE suite name from the named parameter specifications of its components, which have names reflecting their usage in RFC 9180.

[Android.Runtime.Register("getSuiteName", "(Landroid/crypto/hpke/KemParameterSpec;Landroid/crypto/hpke/KdfParameterSpec;Landroid/crypto/hpke/AeadParameterSpec;)Ljava/lang/String;", "", ApiSince=37)]
public static string GetSuiteName(Android.Crypto.Hpke.KemParameterSpec kem, Android.Crypto.Hpke.KdfParameterSpec kdf, Android.Crypto.Hpke.AeadParameterSpec aead);
[<Android.Runtime.Register("getSuiteName", "(Landroid/crypto/hpke/KemParameterSpec;Landroid/crypto/hpke/KdfParameterSpec;Landroid/crypto/hpke/AeadParameterSpec;)Ljava/lang/String;", "", ApiSince=37)>]
static member GetSuiteName : Android.Crypto.Hpke.KemParameterSpec * Android.Crypto.Hpke.KdfParameterSpec * Android.Crypto.Hpke.AeadParameterSpec -> string

Parameters

kem
KemParameterSpec

the key encapsulation mechanism to use

kdf
KdfParameterSpec

the key derivation function to use

aead
AeadParameterSpec

the AEAD cipher to use

Returns

a fully composed HPKE suite name

Attributes

Remarks

Generates a full HPKE suite name from the named parameter specifications of its components, which have names reflecting their usage in RFC 9180.

HPKE suites are composed of a key encapsulation mechanism (KEM), a key derivation function (KDF) and an authenticated cipher algorithm (AEAD) as defined in RFC 9180 section 7. NamedParameterSpecs for these can be foundu in KemParameterSpec, KdfParameterSpec and AeadParameterSpec.

Android reference for android.crypto.hpke.Hpke.getSuiteName.

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