Class Tif
- All Implemented Interfaces:
Card, CryptoCard, Cwa14890Card, Dni
Tarjeta FNMT TIF (variante del DNIe).
-
Field Summary
Fields inherited from class 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, rawConnectionFields inherited from class 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 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, 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, verifyPinMethods inherited from class AbstractIso7816EightCard
verifyCertificateMethods inherited from class AbstractIso7816FourCard
getChallenge, readAllRecords, readBinaryComplete, selectFileById, selectFileByIdAndRead, selectFileByLocation, 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 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: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.
-