Class Tif
- All Implemented Interfaces:
Card, CryptoCard, Cwa14890Card, Dni
Tarjeta FNMT TIF (variante del DNIe).
-
Field Summary
Fields inherited from class Dnie
rawConnection -
Constructor Summary
ConstructorsConstructorDescriptionTif(ApduConnection conn, PasswordCallback pwc, CryptoHelper cryptoHlpr, CallbackHandler ch) Construye una tarjeta FNMT TIF (variante del DNIe). -
Method Summary
Modifier and TypeMethodDescriptionObtiene el nombre de la tarjeta.protected Cwa14890PrivateConstantsObtiene las constantes privadas CWA-14890 para el cifrado de canal.protected Cwa14890PublicConstantsObtiene las constantes públicas CWA-14890 para el cifrado de canal.Methods inherited from class Dnie
changePIN, cipherData, connect, externalAuthentication, getAliases, getCertificate, getChrCCvIfd, getCryptoHelper, getIccCertPublicKey, getIdesp, getIfdKeyLength, getIfdPrivateKey, getInternalAuthenticateMessage, getInternalPasswordCallback, getPasswordCallback, getPinMessage, getPinRetriesLeft, getPrivateKey, getRefIccPrivateKey, getSerialNumber, isSecurityChannelOpen, needsPinForLoadingCerts, openSecureChannelIfNotAlreadyOpened, openSecureChannelIfNotAlreadyOpened, selectMasterFile, setCallbackHandler, setKeysToAuthentication, setPasswordCallback, sign, signInternal, toString, verifyIcc, verifyIfdCertificateChain, verifyPinMethods inherited from class AbstractIso7816EightCard
verifyCertificateMethods inherited from class AbstractIso7816FourCard
getChallenge, readAllRecords, readBinaryComplete, selectFileById, selectFileByIdAndRead, selectFileByLocationAndRead, selectFileByName, selectFileByName, setPublicKeyToVerificationMethods inherited from class AbstractSmartCard
getCla, getConnection, sendArbitraryApdu, setConnectionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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.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:DnieObtiene las constantes públicas CWA-14890 para el cifrado de canal.- Overrides:
getCwa14890PublicConstantsin classDnie- Returns:
- Constantes públicas CWA-14890 para el cifrado de canal.
-
getCwa14890PrivateConstants
Description copied from class:DnieObtiene las constantes privadas CWA-14890 para el cifrado de canal.- Overrides:
getCwa14890PrivateConstantsin classDnie- Returns:
- Constantes privadas CWA-14890 para el cifrado de canal.
-
getCardName
Description copied from class:AbstractSmartCardObtiene el nombre de la tarjeta.- Overrides:
getCardNamein classDnie- Returns:
- Nombre de la tarjeta.
-