Package es.gob.jmulticard.jse.provider
Class DnieProvider
java.lang.Object
java.util.Dictionary<Object,Object>
java.util.Hashtable<Object,Object>
java.util.Properties
java.security.Provider
es.gob.jmulticard.jse.provider.DnieProvider
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
Proveedor criptográfico JCA para DNIe y tarjetas compatibles.
Crea dos servicios:
KeyStore- DNI
Signature- SHA1withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA
Cipher.RSA/ECB/PKCS1Padding.- Author:
- Tomás García-Merás.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.security.Provider
Provider.Service -
Field Summary
Fields inherited from class java.util.Properties
defaults -
Constructor Summary
ConstructorsConstructorDescriptionCrea un proveedor JCA para DNI Electrónico (DNIe) con la conexión y el nombre por defecto.DnieProvider(ApduConnection conn) Crea un proveedor JCA para DNI Electrónico (DNIe) con el nombre por defecto.DnieProvider(ApduConnection conn, String name) Crea un proveedor JCA para DNI Electrónico (DNIe) y se le asigna un nombre concreto. -
Method Summary
Methods inherited from class java.security.Provider
clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, valuesMethods 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
-
Constructor Details
-
DnieProvider
public DnieProvider()Crea un proveedor JCA para DNI Electrónico (DNIe) con la conexión y el nombre por defecto. -
DnieProvider
Crea un proveedor JCA para DNI Electrónico (DNIe) con el nombre por defecto.- Parameters:
conn- Conexión a usar para el envío y recepción de APDU.
-
DnieProvider
Crea un proveedor JCA para DNI Electrónico (DNIe) y se le asigna un nombre concreto.- Parameters:
conn- Conexión a usar para el envío y recepción de APDU.name- Nombre que se le asigna al proveedor.
-
-
Method Details
-
configure
-
isConfigured
public boolean isConfigured()- Overrides:
isConfiguredin classProvider
-