public class Template
extends com.sun.jna.PointerType
Constructor and Description |
---|
Template()
Default no-arg constructor required by JNA.
|
Template(CryptokiAttribute[] list)
Allocates JNA Memory and writes CKA[] values.
|
Modifier and Type | Method and Description |
---|---|
void |
dump(java.lang.StringBuilder sb)
Dump for debug.
|
com.sun.jna.NativeLong |
length() |
void |
update()
Reads (updated) JNA Memory and modifies values in list.
|
public Template()
public Template(CryptokiAttribute[] list)
list
- templatepublic com.sun.jna.NativeLong length()
public void update()
Native
that modify CK_ATTRIBUTE struct such as
Native.C_GetAttributeValue(NativeLong, NativeLong, Template, NativeLong)
.
This is automatically done by the C
and CE
interfaces.public void dump(java.lang.StringBuilder sb)
sb
- write to