Class Device
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.crypto.providers.pkcs11.Device
-
public class Device extends NativeObject
The cryptographic device (HSM, USB token, etc.)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
createSession(java.lang.String password)
Create a sessionjava.lang.String
getDescription()
Description of the device (Getter)java.lang.String
getManufacturerID()
ID of the device's manufacturer (Getter)-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
createSession
public Session createSession(java.lang.String password)
Create a session
- Parameters:
password
- If this parameter is notnull
, the session is created andSession.login(java.lang.String)
executed.- Returns:
-
getDescription
public java.lang.String getDescription()
Description of the device (Getter)
-
getManufacturerID
public java.lang.String getManufacturerID()
ID of the device's manufacturer (Getter)
-
-