public class CryptokiAttributes
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
CryptokiAttribute |
get(int type)
Gets the specified attribute.
|
void |
set(int type,
CryptokiAttribute attr)
Sets the specified attribute It calls C_SetAttributeValue
Calls C_SetAttributeValue
|
public CryptokiAttribute get(int type)
type
- of the attribute to getCryptokiException
- CryptokiException if a native error occurspublic void set(int type, CryptokiAttribute attr)
type
- of the attribute to setattr
- the attribute to setCryptokiException
- CryptokiException if a native error occurs