public class Mechanism
extends java.lang.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).
|
java.lang.String |
getName()
Get the name of this mechanism.
|
CkParams |
getParameters()
Get the parameters object of this mechanism.
|
sun.security.pkcs11.wrapper.CK_MECHANISM |
toCkMechanism() |
java.lang.String |
toString()
Returns the string representation of this object.
|
public Mechanism(long mechanismCode)
mechanismCode - The mechanism code.public Mechanism(long mechanismCode,
CkParams parameters)
mechanismCode - The mechanism code.parameters - The mechanism parameters.public CkParams getParameters()
public long getMechanismCode()
public java.lang.String getName()
public sun.security.pkcs11.wrapper.CK_MECHANISM toCkMechanism()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2023. All rights reserved.