Package de.cardcontact.opencard.eac
Class ChipAuthentication
- java.lang.Object
-
- de.cardcontact.opencard.eac.ChipAuthentication
-
public class ChipAuthentication extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectIdentifier
id_CA_ECDH_3DES_CBC_CBC
static ObjectIdentifier
id_CA_ECDH_AES_CBC_CMAC_128
static ObjectIdentifier
id_CA_ECDH_AES_CBC_CMAC_192
static ObjectIdentifier
id_CA_ECDH_AES_CBC_CMAC_256
-
Constructor Summary
Constructors Constructor Description ChipAuthentication(ObjectIdentifier protocol, StandardizedDomainParameter domainParameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateEphemeralCAKeyPair()
byte[]
getCompressedPublicKey()
byte[]
getEncodedPublicKey()
IsoSecureChannel
getIsoSecureChannel()
byte[]
getProtocol()
void
performKeyAgreement(java.security.PublicKey peerKey, byte[] nonce)
boolean
verifyAuthenticationToken(byte[] authToken)
-
-
-
Field Detail
-
id_CA_ECDH_3DES_CBC_CBC
public static final ObjectIdentifier id_CA_ECDH_3DES_CBC_CBC
-
id_CA_ECDH_AES_CBC_CMAC_128
public static final ObjectIdentifier id_CA_ECDH_AES_CBC_CMAC_128
-
id_CA_ECDH_AES_CBC_CMAC_192
public static final ObjectIdentifier id_CA_ECDH_AES_CBC_CMAC_192
-
id_CA_ECDH_AES_CBC_CMAC_256
public static final ObjectIdentifier id_CA_ECDH_AES_CBC_CMAC_256
-
-
Constructor Detail
-
ChipAuthentication
public ChipAuthentication(ObjectIdentifier protocol, StandardizedDomainParameter domainParameter)
-
-
Method Detail
-
generateEphemeralCAKeyPair
public void generateEphemeralCAKeyPair()
-
getCompressedPublicKey
public byte[] getCompressedPublicKey()
-
getEncodedPublicKey
public byte[] getEncodedPublicKey()
-
getProtocol
public byte[] getProtocol()
-
performKeyAgreement
public void performKeyAgreement(java.security.PublicKey peerKey, byte[] nonce)
-
verifyAuthenticationToken
public boolean verifyAuthenticationToken(byte[] authToken)
-
getIsoSecureChannel
public IsoSecureChannel getIsoSecureChannel()
-
-