Package es.gob.jmulticard.card.dnie.tif
Class Tif
- All Implemented Interfaces:
Card
,CryptoCard
,Cwa14890Card
,Dni
Tarjeta FNMT TIF (variante del DNIe).
-
Field Summary
Fields inherited from class es.gob.jmulticard.card.dnie.Dnie
CDF_LOCATION, CERT_ALIAS_AUTH, CERT_ALIAS_CYPHER, CERT_ALIAS_INTERMEDIATE_CA, CERT_ALIAS_SIGN, CERT_ALIAS_SIGNALIAS, certAuth, certCyph, certIcc, certSign, certSignAlias, cryptoHelper, IDESP_LOCATION, intermediateCaCert, LOGGER, PRKDF_LOCATION, rawConnection
Fields inherited from class es.gob.jmulticard.card.AbstractSmartCard
DEBUG
-
Constructor Summary
ConstructorsConstructorDescriptionTif
(ApduConnection conn, PasswordCallback pwc, CryptoHelper cryptoHlpr, CallbackHandler ch) Construye una tarjeta FNMT TIF (variante del DNIe). -
Method Summary
Modifier and TypeMethodDescriptionprotected Cwa14890PrivateConstants
Obtiene las constantes privadas CWA-14890 para el cifrado de canal.protected Cwa14890PublicConstants
Obtiene las constantes públicas CWA-14890 para el cifrado de canal.Methods inherited from class es.gob.jmulticard.card.dnie.Dnie
changePIN, cipherData, connect, externalAuthentication, getAliases, getCardName, getCdf, getCertificate, getChrCCvIfd, getCryptoHelper, getIccCertPublicKey, getIdesp, getIfdKeyLength, getIfdPrivateKey, getInternalAuthenticateMessage, getInternalPasswordCallback, getInternalPasswordCallback, getPasswordCallback, getPinMessage, getPinRetriesLeft, getPrivateKey, getRefIccPrivateKey, getSerialNumber, isSecurityChannelOpen, loadCertificates, loadCertificatesPaths, loadKeyReferences, needAuthorizationToSign, needsPinForLoadingCerts, openSecureChannelIfNotAlreadyOpened, openSecureChannelIfNotAlreadyOpened, selectMasterFile, setCallbackHandler, setKeysToAuthentication, setPasswordCallback, sign, signInternal, signOperation, toString, verifyIcc, verifyIfdCertificateChain, verifyPin
Methods inherited from class es.gob.jmulticard.card.iso7816eight.AbstractIso7816EightCard
verifyCertificate
Methods inherited from class es.gob.jmulticard.card.iso7816four.AbstractIso7816FourCard
getChallenge, readAllRecords, readBinaryComplete, selectFileById, selectFileByIdAndRead, selectFileByLocation, selectFileByLocationAndRead, selectFileByName, selectFileByName, setPublicKeyToVerification
Methods inherited from class es.gob.jmulticard.card.AbstractSmartCard
getCla, getConnection, sendArbitraryApdu, setConnection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface es.gob.jmulticard.card.cwa14890.Cwa14890Card
getChallenge
-
Constructor Details
-
Tif
public Tif(ApduConnection conn, PasswordCallback pwc, CryptoHelper cryptoHlpr, CallbackHandler ch) throws ApduConnectionException Construye una tarjeta FNMT TIF (variante del DNIe).- Parameters:
conn
- Conexión con la tarjeta.pwc
- PasswordCallback para obtener el PIN de la TIF.cryptoHlpr
- Funcionalidades criptográficas de utilidad que pueden variar entre máquinas virtuales.ch
- Gestor de callbacks para la solicitud de datos al usuario.- Throws:
ApduConnectionException
- Si la conexión con la tarjeta se proporciona cerrada y no es posible abrirla.
-
-
Method Details
-
getCwa14890PublicConstants
Description copied from class:Dnie
Obtiene las constantes públicas CWA-14890 para el cifrado de canal.- Overrides:
getCwa14890PublicConstants
in classDnie
- Returns:
- Constantes públicas CWA-14890 para el cifrado de canal.
-
getCwa14890PrivateConstants
Description copied from class:Dnie
Obtiene las constantes privadas CWA-14890 para el cifrado de canal.- Overrides:
getCwa14890PrivateConstants
in classDnie
- Returns:
- Constantes privadas CWA-14890 para el cifrado de canal.
-