public class Mechanism extends Object
| Constructor and Description |
|---|
Mechanism(long mechanismCode)
Constructor taking just the mechanism code as defined in PKCS11Constants.
|
Mechanism(long mechanismCode,
CkParams parameters)
Constructor taking just the mechanism code as defined in PKCS11Constants.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMechanismCode()
Get the code of this mechanism as defined in PKCS11Constants (of
pkcs11t.h likewise).
|
String |
getName()
Get the name of this mechanism.
|
CkParams |
getParameters()
Get the parameters object of this mechanism.
|
void |
setModule(PKCS11Module module) |
String |
toString()
Returns the string representation of this object.
|
String |
toString(String indent) |
public Mechanism(long mechanismCode)
mechanismCode - The mechanism code.public Mechanism(long mechanismCode,
CkParams parameters)
mechanismCode - The mechanism code.parameters - The mechanism parameters.public void setModule(PKCS11Module module)
public CkParams getParameters()
public long getMechanismCode()
public String getName()
public String toString()
Copyright © 2023. All rights reserved.