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

public Class CK_CCM_PARAMS

extends Object
Class Inheritance

This class represents the necessary parameters required by the CKM_AES_CCM mechanism as defined in CK_CCM_PARAMS structure.

PKCS#11 structure:

typedef struct CK_CCM_PARAMS {
  CK_ULONG ulDataLen;
  CK_BYTE_PTR pNonce;
  CK_ULONG ulNonceLen;
  CK_BYTE_PTR pAAD;
  CK_ULONG ulAADLen;
  CK_ULONG ulMACLen;
} CK_CCM_PARAMS;
Since
13

Field Summary

Modifier and TypeField and Description
private final byte[]
private final long
private final long
private final byte[]

Constructor Summary

AccessConstructor and Description
public
CK_CCM_PARAMS(int tagLen, byte[] iv, byte[] aad, int dataLen)

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

aadback to summary
private final byte[] aad
dataLenback to summary
private final long dataLen
macLenback to summary
private final long macLen
nonceback to summary
private final byte[] nonce

Constructor Detail

CK_CCM_PARAMSback to summary
public CK_CCM_PARAMS(int tagLen, byte[] iv, byte[] aad, int dataLen)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object