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

public Class CK_GCM_PARAMS

extends Object
Class Inheritance

This class represents the necessary parameters required by the CKM_AES_GCM mechanism as defined in CK_GCM_PARAMS structure.

PKCS#11 structure:

typedef struct CK_GCM_PARAMS {
   CK_BYTE_PTR       pIv;
   CK_ULONG          ulIvLen;
   CK_BYTE_PTR       pAAD;
   CK_ULONG          ulAADLen;
   CK_ULONG          ulTagBits;
} CK_GCM_PARAMS;
Since
10

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
CK_GCM_PARAMS(int tagLenInBits, byte[] iv, byte[] aad)

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
ivback to summary
private final byte[] iv
tagBitsback to summary
private final long tagBits

Constructor Detail

CK_GCM_PARAMSback to summary
public CK_GCM_PARAMS(int tagLenInBits, byte[] iv, byte[] aad)

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