APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.pkcs11.wrapper

public Class CK_HKDF_PARAMS

extends Object
Class Inheritance

class CK_HKDF_PARAMS provides the parameters to the CKM_HKDF_DERIVE and CKM_HKDF_DATA mechanisms.

PKCS#11 structure:

typedef struct CK_HKDF_PARAMS {
  CK_BBOOL          bExtract;
  CK_BBOOL          bExpand;
  CK_MECHANISM_TYPE prfHashMechanism;
  CK_ULONG          ulSaltType;
  CK_BYTE_PTR       pSalt;
  CK_ULONG          ulSaltLen;
  CK_OBJECT_HANDLE  hSaltKey;
  CK_BYTE_PTR       pInfo;
  CK_ULONG          ulInfoLen;
} CK_HKDF_PARAMS;

Field Summary

Modifier and TypeField and Description
public final boolean
bExpand

PKCS#11:

  CK_BBOOL bExpand;
public final boolean
bExtract

PKCS#11:

  CK_BBOOL bExtract;
public final long
hSaltKey

PKCS#11:

  CK_OBJECT_HANDLE hSaltKey;
public final byte[]
pInfo

PKCS#11:

  CK_BYTE_PTR pInfo;
  CK_ULONG ulInfoLen;
public final long
prfHashMechanism

PKCS#11:

  CK_MECHANISM_TYPE prfHashMechanism;
public final byte[]
pSalt

PKCS#11:

  CK_BYTE_PTR pSalt;
  CK_ULONG ulSaltLen;
public final long
ulSaltType

PKCS#11:

  CK_ULONG ulSaltType;

Constructor Summary

AccessConstructor and Description
public
CK_HKDF_PARAMS(boolean bExtract, boolean bExpand, long prfHashMechanism, long ulSaltType, byte[] pSalt, long hSaltKey, byte[] pInfo)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the string representation of CK_HKDF_PARAMS
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_HKDF_PARAMS.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

bExpandback to summary
public final boolean bExpand

PKCS#11:

  CK_BBOOL bExpand;
bExtractback to summary
public final boolean bExtract

PKCS#11:

  CK_BBOOL bExtract;
hSaltKeyback to summary
public final long hSaltKey

PKCS#11:

  CK_OBJECT_HANDLE hSaltKey;
pInfoback to summary
public final byte[] pInfo

PKCS#11:

  CK_BYTE_PTR pInfo;
  CK_ULONG ulInfoLen;
prfHashMechanismback to summary
public final long prfHashMechanism

PKCS#11:

  CK_MECHANISM_TYPE prfHashMechanism;
pSaltback to summary
public final byte[] pSalt

PKCS#11:

  CK_BYTE_PTR pSalt;
  CK_ULONG ulSaltLen;
ulSaltTypeback to summary
public final long ulSaltType

PKCS#11:

  CK_ULONG ulSaltType;

Constructor Detail

CK_HKDF_PARAMSback to summary
public CK_HKDF_PARAMS(boolean bExtract, boolean bExpand, long prfHashMechanism, long ulSaltType, byte[] pSalt, long hSaltKey, byte[] pInfo)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_HKDF_PARAMS.

Returns:String

the string representation of CK_HKDF_PARAMS