Package | Description |
---|---|
org.jmrtd | |
org.jmrtd.protocol |
Modifier and Type | Method and Description |
---|---|
SecureMessagingWrapper |
PassportService.getWrapper()
Returns the secure messaging wrapper currently in use.
|
abstract SecureMessagingWrapper |
AbstractMRTDCardService.getWrapper()
Returns the secure messaging wrapper currently in use.
|
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 |
---|---|
static SecureMessagingWrapper |
SecureMessagingWrapper.getInstance(SecureMessagingWrapper wrapper)
Returns a copy of the given wrapper, with an identical (but perhaps independent)
state for known secure messaging wrapper types.
|
SecureMessagingWrapper |
PACEResult.getWrapper()
Returns the secure messaging wrapper that was created after completion of the PACE protocol run.
|
SecureMessagingWrapper |
EACCAResult.getWrapper()
Returns the resulting secure messaging wrapper.
|
SecureMessagingWrapper |
EACCAProtocol.getWrapper()
Returns the secure messaging wrapper currently in use.
|
SecureMessagingWrapper |
BACResult.getWrapper()
Returns the secure messaging wrapper.
|
static SecureMessagingWrapper |
EACCAProtocol.restartSecureMessaging(String oid,
byte[] sharedSecret,
int maxTranceiveLength,
boolean shouldCheckMAC)
Restarts secure messaging based on the shared secret.
|
Modifier and Type | Method and Description |
---|---|
static SecureMessagingWrapper |
SecureMessagingWrapper.getInstance(SecureMessagingWrapper wrapper)
Returns a copy of the given wrapper, with an identical (but perhaps independent)
state for known secure messaging wrapper types.
|
static void |
EACCAProtocol.sendPublicKey(APDULevelEACCACapable service,
SecureMessagingWrapper wrapper,
String oid,
BigInteger keyId,
PublicKey pcdPublicKey)
Sends the PCD's public key to the PICC.
|
Constructor and Description |
---|
AAProtocol(APDULevelAACapable service,
SecureMessagingWrapper wrapper)
Creates a protocol instance.
|
BACResult(AccessKeySpec bacKey,
SecureMessagingWrapper wrapper)
Creates a BAC result.
|
BACResult(SecureMessagingWrapper wrapper)
Creates a BAC result without specifying the initial access key.
|
EACCAProtocol(APDULevelEACCACapable service,
SecureMessagingWrapper wrapper,
int maxTranceiveLength,
boolean shouldCheckMAC)
Constructs a protocol instance.
|
EACCAResult(BigInteger keyId,
PublicKey piccPublicKey,
byte[] keyHash,
PublicKey pcdPublicKey,
PrivateKey pcdPrivateKey,
SecureMessagingWrapper wrapper)
Creates a result.
|
EACTAProtocol(APDULevelEACTACapable service,
SecureMessagingWrapper wrapper)
Creates a protocol instance.
|
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(APDULevelPACECapable service,
SecureMessagingWrapper wrapper,
int maxTranceiveLength,
boolean shouldCheckMAC)
Deprecated.
Use the other constructor with explicit max tranceive lengths for protocol and secure messaging
|
PACEProtocol(APDULevelPACECapable service,
SecureMessagingWrapper wrapper,
int maxTranceiveLengthForProtocol,
int maxTranceiveLengthForSecureMessaging,
boolean shouldCheckMAC)
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.
|
Copyright © 2022. All rights reserved.