public class EmulatorP11ModuleFactory extends Object implements P11ModuleFactory
P11ModuleFactory to create P11Module of type "emulator".| Constructor and Description |
|---|
EmulatorP11ModuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateModule(String type)
Indicates whether a PKCS#11 module of the given
type can be created or not. |
P11Module |
newModule(P11ModuleConf conf)
Creates a new signer.
|
public boolean canCreateModule(String type)
P11ModuleFactorytype can be created or not.canCreateModule in interface P11ModuleFactorytype - Type of the signer. Must no be null.public P11Module newModule(P11ModuleConf conf) throws P11TokenException
P11ModuleFactorynewModule in interface P11ModuleFactoryconf - Configuration of the PKCS#11 module. Must not be null.P11TokenException - if PKCS#11 module could not be created.Copyright © 2019. All rights reserved.