Class Ceres430Provider
java.lang.Object
java.util.Dictionary<Object,Object>
java.util.Hashtable<Object,Object>
java.util.Properties
java.security.Provider
es.gob.jmulticard.jse.provider.ceres.Ceres430Provider
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
Proveedor criptográfico JCA para tarjetas CERES 4.30 o superiores. Esta tarjeta es
exactamente igual que un DNIe 3.0, por lo que usaremos sus mismas clases.
Crea dos servicios:
KeyStore
- CERES430
Signature
- SHA1withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.security.Provider
Provider.Service
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static ApduConnection
private static final String
private static final String
private static final long
private static final String
Firma RSA con huellas SHA-1.private static final String
Firma RSA con huellas SHA-256.private static final String
Firma RSA con huellas SHA-384.private static final String
Firma RSA con huellas SHA-512.private static final double
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
ConstructorsConstructorDescriptionCrea un proveedor JCA para tarjetas FNMT CERES 4.30 o superiores con la conexión por defecto.Crea un proveedor JCA para tarjetas CERES 4.30 o superiores. -
Method Summary
Modifier and TypeMethodDescription(package private) static ApduConnection
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
-
Field Details
-
SHA512WITH_RSA
Firma RSA con huellas SHA-512.- See Also:
-
SHA384WITH_RSA
Firma RSA con huellas SHA-384.- See Also:
-
SHA256WITH_RSA
Firma RSA con huellas SHA-256.- See Also:
-
SHA1WITH_RSA
Firma RSA con huellas SHA-1.- See Also:
-
CERES_PRIVATE_KEY
- See Also:
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
INFO
- See Also:
-
VERSION
private static final double VERSION- See Also:
-
NAME
- See Also:
-
defaultConnection
-
-
Constructor Details
-
Ceres430Provider
public Ceres430Provider()Crea un proveedor JCA para tarjetas FNMT CERES 4.30 o superiores con la conexión por defecto. -
Ceres430Provider
Crea un proveedor JCA para tarjetas CERES 4.30 o superiores.- Parameters:
conn
- Conexión a usar para el envío y recepción de APDU.
-
-
Method Details
-
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 propioKeyStore
el que decide que conexión usar.- Returns:
- Conexión por defecto
-