Package | Description |
---|---|
org.jmrtd.protocol |
Modifier and Type | Class and Description |
---|---|
class |
AESSecureMessagingWrapper
An AES secure messaging wrapper for APDUs.
|
class |
DESedeSecureMessagingWrapper
Secure messaging wrapper for APDUs.
|
Modifier and Type | Method and Description |
---|---|
SecureMessagingWrapper |
BACResult.getWrapper()
Returns the secure messaging wrapper.
|
SecureMessagingWrapper |
CAResult.getWrapper()
Returns the resulting secure messaging wrapper.
|
SecureMessagingWrapper |
PACEResult.getWrapper()
Returns the secure messaging wrapper that was created after completion of the PACE protocol run.
|
SecureMessagingWrapper |
CAProtocol.getWrapper()
Gets the secure messaging wrapper currently in use.
|
static SecureMessagingWrapper |
CAProtocol.restartSecureMessaging(String oid,
byte[] sharedSecret,
int maxTranceiveLength,
boolean shouldCheckMAC)
Restarts secure messaging based on the shared secret.
|
Modifier and Type | Method and Description |
---|---|
static void |
CAProtocol.sendPublicKey(PassportService service,
SecureMessagingWrapper wrapper,
String oid,
BigInteger keyId,
PublicKey pcdPublicKey)
Sends the PCD's public key to the PICC.
|
Constructor and Description |
---|
AAProtocol(PassportService service,
SecureMessagingWrapper wrapper)
Creates a protocol instance.
|
BACResult(BACKeySpec bacKey,
SecureMessagingWrapper wrapper)
Creates a BAC result.
|
BACResult(SecureMessagingWrapper wrapper)
Creates a BAC result without specifying the initial access key.
|
CAProtocol(PassportService service,
SecureMessagingWrapper wrapper)
Constructs a protocol instance.
|
CAResult(BigInteger keyId,
PublicKey piccPublicKey,
byte[] keyHash,
PublicKey pcdPublicKey,
PrivateKey pcdPrivateKey,
SecureMessagingWrapper wrapper)
Creates a result.
|
PACECAMResult(AccessKeySpec paceKey,
String agreementAlg,
String cipherAlg,
String digestAlg,
int keyLength,
PACEMappingResult mappingResult,
KeyPair pcdKeyPair,
PublicKey piccPublicKey,
byte[] encryptedChipAuthenticationData,
byte[] chipAuthenticationData,
SecureMessagingWrapper wrapper)
Constructs a result.
|
PACEProtocol(PassportService service,
SecureMessagingWrapper wrapper)
Constructs a PACE protocol instance.
|
PACEResult(AccessKeySpec paceKey,
PACEInfo.MappingType mappingType,
String agreementAlg,
String cipherAlg,
String digestAlg,
int keyLength,
PACEMappingResult mappingResult,
KeyPair pcdKeyPair,
PublicKey piccPublicKey,
SecureMessagingWrapper wrapper)
The result of a PACE protocol run.
|
TAProtocol(PassportService service,
SecureMessagingWrapper wrapper)
Creates a protocol instance.
|
Copyright © 2018. All rights reserved.