Package com.inesm.KeyManager.services
Class PCKS11
java.lang.Object
com.inesm.KeyManager.services.PCKS11
Provides smartcard authentication using the PCKS11 interface.
Currently using configurations regarding the Portuguese Citizen Card.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAuthenticates an entity via smartcard authentication.
-
Constructor Details
-
PCKS11
public PCKS11()
-
-
Method Details
-
authenticate
Authenticates an entity via smartcard authentication.- Returns:
- the string containing the smartcard subject information
- Throws:
InvalidSignatureException- if any exception occurred during the operation, the message will contain more details about the cause
-