public static final class Secmod.Module extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
commonName |
(package private) String |
libraryName |
(package private) int |
slot |
(package private) Secmod.ModuleType |
type |
| Constructor and Description |
|---|
Secmod.Module(String libraryName,
String commonName,
boolean fips,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfiguration()
Deprecated.
|
String |
getLibraryName()
Return the pathname of the native library that implements
this module.
|
Provider |
getProvider()
Deprecated.
|
(package private) Secmod.TrustAttributes |
getTrust(sun.security.pkcs11.Secmod.Bytes hash) |
Secmod.ModuleType |
getType()
Returns the type of this module.
|
(package private) boolean |
hasInitializedProvider() |
void |
setConfiguration(String config)
Deprecated.
|
(package private) void |
setProvider(SunPKCS11 p) |
(package private) void |
setTrust(Token token,
X509Certificate cert) |
String |
toString()
Returns a string representation of the object.
|
final String libraryName
final String commonName
final int slot
final Secmod.ModuleType type
Secmod.Module(String libraryName, String commonName, boolean fips, int slot)
@Deprecated public String getConfiguration()
@Deprecated public void setConfiguration(String config)
IllegalStateException - if the associated provider
instance has already been created.public String getLibraryName()
public Secmod.ModuleType getType()
@Deprecated public Provider getProvider()
boolean hasInitializedProvider()
void setProvider(SunPKCS11 p)
void setTrust(Token token, X509Certificate cert)
Secmod.TrustAttributes getTrust(sun.security.pkcs11.Secmod.Bytes hash)
public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())