Top Description Fields Constructors Methods
sun.security.pkcs11.wrapper

public Class CK_PBE_PARAMS

extends Object
Class Inheritance

class CK_PBE_PARAMS provides all the necessary information required by the CKM_PBE mechanisms and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism.

PKCS#11 structure:

typedef struct CK_PBE_PARAMS {
  CK_BYTE_PTR pInitVector;
  CK_UTF8CHAR_PTR pPassword;
  CK_ULONG ulPasswordLen;
  CK_BYTE_PTR pSalt;
  CK_ULONG ulSaltLen;
  CK_ULONG ulIteration;
} CK_PBE_PARAMS;
Authors
Karl Scheibelhofer , Martin Schlaeffer

Field Summary

Modifier and TypeField and Description
public byte[]
pInitVector

PKCS#11:

  CK_BYTE_PTR pInitVector;
public char[]
pPassword

PKCS#11:

  CK_UTF8CHAR_PTR pPassword;
  CK_ULONG ulPasswordLen;
public byte[]
pSalt

PKCS#11:

  CK_BYTE_PTR pSalt
  CK_ULONG ulSaltLen;
public long
ulIteration

PKCS#11:

  CK_ULONG ulIteration;

Constructor Summary

AccessConstructor and Description
public
CK_PBE_PARAMS(char[] pPassword, byte[] pSalt, long ulIteration)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the string representation of CK_PBE_PARAMS
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_PBE_PARAMS.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

pInitVectorback to summary
public byte[] pInitVector

PKCS#11:

  CK_BYTE_PTR pInitVector;
pPasswordback to summary
public char[] pPassword

PKCS#11:

  CK_UTF8CHAR_PTR pPassword;
  CK_ULONG ulPasswordLen;
pSaltback to summary
public byte[] pSalt

PKCS#11:

  CK_BYTE_PTR pSalt
  CK_ULONG ulSaltLen;
ulIterationback to summary
public long ulIteration

PKCS#11:

  CK_ULONG ulIteration;

Constructor Detail

CK_PBE_PARAMSback to summary
public CK_PBE_PARAMS(char[] pPassword, byte[] pSalt, long ulIteration)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_PBE_PARAMS.

Returns:String

the string representation of CK_PBE_PARAMS