Class PCKS11

java.lang.Object
com.inesm.KeyManager.services.PCKS11

@Service public class PCKS11 extends Object
Provides smartcard authentication using the PCKS11 interface.

Currently using configurations regarding the Portuguese Citizen Card.

  • Constructor Details

    • PCKS11

      public PCKS11()
  • Method Details

    • authenticate

      public String authenticate() throws InvalidSignatureException
      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