Modifier and Type | Method and Description |
---|---|
Mechanism |
CryptokiApplet.createMechanism(int ckm)
Creates an instance of the class Mechanism
|
Mechanism |
CryptokiApplet.createMechanism(int ckm,
byte[] param)
Creates an instance of the class Mechanism with the given param
|
Modifier and Type | Method and Description |
---|---|
int |
Session.decryptInit(Mechanism mech,
Key key)
Inits an Decrypt operation
Calls C_DecryptInit
|
Key |
Session.deriveKey(Mechanism mechanism,
Key baseKey,
java.util.ArrayList<CryptokiAttribute> template)
Performs a Key Derivation
Calls C_DeriveKey
|
int |
Session.digestInit(Mechanism mech)
Inits a Digest operation
Calls C_DigestInit
|
int |
Session.encryptInit(Mechanism mech,
Key key)
Inits an Encrypt operation
Calls C_EncryptInit
|
Key |
Session.generateKey(Mechanism mech,
java.util.ArrayList<CryptokiAttribute> attList)
Generate a key
Calls C_GenerateKey
|
Key[] |
Session.generateKeyPair(Mechanism mech,
java.util.ArrayList<CryptokiAttribute> attListPub,
java.util.ArrayList<CryptokiAttribute> attListPri)
Generate a key pair
Calls C_GenerateKeyPair
|
int |
Session.signInit(Mechanism mech,
Key key)
Inits a Signature operation
Calls C_SignInit
|
int |
Session.signRecoverInit(Mechanism mech,
Key key)
Inits a Sign Recoveroperation
Calls SignRecoverInit
|
Key |
Session.unwrapKey(Mechanism mech,
Key unwrappingKey,
byte[] wrappedKey,
java.util.ArrayList<CryptokiAttribute> attList)
Unwraps a key
Calls C_UnwrapKey
|
int |
Session.verifyInit(Mechanism mech,
Key key)
Inits a Verify operation
Calls C_VerifyInit
|
int |
Session.verifyRecoverInit(Mechanism mech,
Key key)
Inistializes a VerifyRecoverInit operation
Calls C_VerifyRecoverInit
|
byte[] |
Session.wrapKey(Mechanism mech,
Key wrappingKey,
Key keyToWrap)
Wraps a key
Calls C_WrapKey
|