Class SmartCafeProvider

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

    public final class SmartCafeProvider
    extends java.security.Provider
    Proveedor criptográfico JCA para tarjeta G&D SmartCafe con Applet PKCS#15. Crea dos servicios:
    KeyStore
    GDSCPKCS15
    Signature
    SHA1withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.security.Provider

        java.security.Provider.Service
    • Constructor Summary

      Constructors 
      Constructor Description
      SmartCafeProvider()
      Crea un proveedor JCA para tarjeta G&D SmartCafe con Applet PKCS#15 con la conexión por defecto.
      SmartCafeProvider​(ApduConnection conn)
      Crea un proveedor JCA para tarjeta G&D SmartCafe con Applet PKCS#15.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static ApduConnection getDefaultApduConnection()
      Obtiene de forma estática el tipo de conexión de APDU que debe usar el KeyStore.
      • Methods inherited from class java.security.Provider

        clear, compute, computeIfAbsent, computeIfPresent, configure, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
      • Methods inherited from class java.util.Properties

        clone, contains, containsKey, containsValue, equals, getProperty, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, rehash, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SmartCafeProvider

        public SmartCafeProvider()
        Crea un proveedor JCA para tarjeta G&D SmartCafe con Applet PKCS#15 con la conexión por defecto.
      • SmartCafeProvider

        public SmartCafeProvider​(ApduConnection conn)
        Crea un proveedor JCA para tarjeta G&D SmartCafe con Applet PKCS#15.
        Parameters:
        conn - Conexión a usar para el envío y recepción de APDU.
    • Method Detail

      • getDefaultApduConnection

        static ApduConnection getDefaultApduConnection()
        Obtiene de forma estática el tipo de conexión de APDU que debe usar el KeyStore. Si es nula (se ha invocado al constructor por defecto), es el propio KeyStore el que decide que conexión usar.
        Returns:
        Conexión por defecto