Uses of Class
javax.crypto.spec.HPKEParameterSpec
Packages that use HPKEParameterSpec
Package
Description
Provides classes and interfaces for key specifications and
algorithm parameter specifications.
-
Uses of HPKEParameterSpec in javax.crypto.spec
Methods in javax.crypto.spec that return HPKEParameterSpecModifier and TypeMethodDescriptionstatic HPKEParameterSpecHPKEParameterSpec.of(int kem_id, int kdf_id, int aead_id) A factory method to create a newHPKEParameterSpecobject with specified KEM, KDF, and AEAD algorithm identifiers inmode_basemode with an emptyinfo.HPKEParameterSpec.withAuthKey(AsymmetricKey kS) Creates a newHPKEParameterSpecobject with the specified authentication key value.HPKEParameterSpec.withEncapsulation(byte[] encapsulation) Creates a newHPKEParameterSpecobject with the specified key encapsulation message value that will be used by the recipient.HPKEParameterSpec.withInfo(byte[] info) Creates a newHPKEParameterSpecobject with the specifiedinfovalue.Creates a newHPKEParameterSpecobject with the specifiedpskandpsk_idvalues.