|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.jmrtd.EACEvent
public class EACEvent
Event to indicate EAC protocol was executed.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
EACEvent(PassportService service,
int keyId,
PublicKey cardKey,
KeyPair keyPair,
org.jmrtd.cert.CVCPrincipal caReference,
List<org.jmrtd.cert.CardVerifiableCertificate> terminalCertificates,
PrivateKey terminalKey,
String documentNumber,
byte[] cardChallenge,
boolean success)
Constructs a new event. |
|
| Method Summary | |
|---|---|
byte[] |
getCardChallenge()
Return the card's challenge generated during EAC. |
PublicKey |
getCardPublicKey()
Return the card's public key used during EAC. |
int |
getCardPublicKeyId()
Return the card's public key ID used during EAC. |
org.jmrtd.cert.CVCPrincipal |
getCAReference()
Returns CA certificate's reference used during EAC. |
List<org.jmrtd.cert.CardVerifiableCertificate> |
getCVCertificates()
Returns the chain of CVCertificates used to authenticate the terminal to the card. |
String |
getDocumentNumber()
Returns the id of the card used during EAC. |
KeyPair |
getKeyPair()
Returns the host key pair used for EAC chip authentication. |
PassportService |
getService()
|
PrivateKey |
getTerminalKey()
Returns the terminal private key used during EAC. |
SecureMessagingWrapper |
getWrapper()
Gets the resulting wrapper. |
boolean |
isSuccess()
Gets the status of the executed EAC protocol run. |
String |
toString()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EACEvent(PassportService service,
int keyId,
PublicKey cardKey,
KeyPair keyPair,
org.jmrtd.cert.CVCPrincipal caReference,
List<org.jmrtd.cert.CardVerifiableCertificate> terminalCertificates,
PrivateKey terminalKey,
String documentNumber,
byte[] cardChallenge,
boolean success)
service - event sourcekeyPair - the ECDH key pair used for authenticating the chipsuccess - status of protocol| Method Detail |
|---|
public SecureMessagingWrapper getWrapper()
public boolean isSuccess()
public KeyPair getKeyPair()
public org.jmrtd.cert.CVCPrincipal getCAReference()
public List<org.jmrtd.cert.CardVerifiableCertificate> getCVCertificates()
public PrivateKey getTerminalKey()
public String getDocumentNumber()
public byte[] getCardChallenge()
public PublicKey getCardPublicKey()
public int getCardPublicKeyId()
public PassportService getService()
public String toString()
toString in class EventObject
|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||