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 ObjectIdentifierid_CA_ECDH_3DES_CBC_CBCstatic ObjectIdentifierid_CA_ECDH_AES_CBC_CMAC_128static ObjectIdentifierid_CA_ECDH_AES_CBC_CMAC_192static ObjectIdentifierid_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 voidgenerateEphemeralCAKeyPair()byte[]getCompressedPublicKey()byte[]getEncodedPublicKey()IsoSecureChannelgetIsoSecureChannel()byte[]getProtocol()voidperformKeyAgreement(java.security.PublicKey peerKey, byte[] nonce)booleanverifyAuthenticationToken(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()
-
-