Package org.xipki.security.pkcs11
Class P11ModuleConf
- java.lang.Object
-
- org.xipki.security.pkcs11.P11ModuleConf
-
public class P11ModuleConf extends Object
Configuration of a PKCS#11 module.- Author:
- Lijun Liao (xipki)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classP11ModuleConf.P11MechanismFilterstatic classP11ModuleConf.P11NewObjectConfstatic classP11ModuleConf.P11PasswordsRetriever
-
Constructor Summary
Constructors Constructor Description P11ModuleConf(Pkcs11conf.Module moduleType, List<Pkcs11conf.MechanismSet> mechanismSets, org.xipki.password.PasswordResolver passwordResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Long>getKeyPairTypes()intgetMaxMessageSize()StringgetName()StringgetNativeLibrary()IntegergetNumSessions()P11ModuleConf.P11MechanismFiltergetP11MechanismFilter()P11ModuleConf.P11NewObjectConfgetP11NewObjectConf()P11ModuleConf.P11PasswordsRetrievergetPasswordRetriever()List<Long>getSecretKeyTypes()StringgetType()char[]getUserName()longgetUserType()booleanisReadOnly()booleanisSlotIncluded(P11SlotId slotId)
-
-
-
Constructor Detail
-
P11ModuleConf
public P11ModuleConf(Pkcs11conf.Module moduleType, List<Pkcs11conf.MechanismSet> mechanismSets, org.xipki.password.PasswordResolver passwordResolver) throws org.xipki.util.exception.InvalidConfException
- Throws:
org.xipki.util.exception.InvalidConfException
-
-
Method Detail
-
getName
public String getName()
-
getType
public String getType()
-
getNativeLibrary
public String getNativeLibrary()
-
getMaxMessageSize
public int getMaxMessageSize()
-
isReadOnly
public boolean isReadOnly()
-
getUserType
public long getUserType()
-
getUserName
public char[] getUserName()
-
getPasswordRetriever
public P11ModuleConf.P11PasswordsRetriever getPasswordRetriever()
-
getNumSessions
public Integer getNumSessions()
-
isSlotIncluded
public boolean isSlotIncluded(P11SlotId slotId)
-
getP11MechanismFilter
public P11ModuleConf.P11MechanismFilter getP11MechanismFilter()
-
getP11NewObjectConf
public P11ModuleConf.P11NewObjectConf getP11NewObjectConf()
-
-