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

public Class CK_MECHANISM_INFO

extends Object
Class Inheritance
Imports
java.security.ProviderException

class CK_MECHANISM_INFO provides information about a particular mechanism.

PKCS#11 structure:

typedef struct CK_MECHANISM_INFO {  
  CK_ULONG ulMinKeySize;  
  CK_ULONG ulMaxKeySize;  
  CK_FLAGS flags;  
} CK_MECHANISM_INFO;
Authors
Karl Scheibelhofer , Martin Schlaeffer

Field Summary

Modifier and TypeField and Description
public long
flags

PKCS#11:

  CK_FLAGS flags;
public final int
public final int
public long
ulMaxKeySize

PKCS#11:

  CK_ULONG ulMaxKeySize;
public long
ulMinKeySize

PKCS#11:

  CK_ULONG ulMinKeySize;

Constructor Summary

AccessConstructor and Description
public
CK_MECHANISM_INFO(long minKeySize, long maxKeySize, long flags)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the string representation of CK_MECHANISM_INFO
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_MECHANISM_INFO.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

flagsback to summary
public long flags

PKCS#11:

  CK_FLAGS flags;
iMaxKeySizeback to summary
public final int iMaxKeySize
iMinKeySizeback to summary
public final int iMinKeySize
ulMaxKeySizeback to summary
public long ulMaxKeySize

PKCS#11:

  CK_ULONG ulMaxKeySize;
ulMinKeySizeback to summary
public long ulMinKeySize

PKCS#11:

  CK_ULONG ulMinKeySize;

Constructor Detail

CK_MECHANISM_INFOback to summary
public CK_MECHANISM_INFO(long minKeySize, long maxKeySize, long flags)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_MECHANISM_INFO.

Returns:String

the string representation of CK_MECHANISM_INFO