Package | Description |
---|---|
org.jmrtd | |
org.jmrtd.protocol |
Modifier and Type | Interface and Description |
---|---|
interface |
BACKeySpec
A BAC key.
|
Modifier and Type | Class and Description |
---|---|
class |
BACKey
A BAC key.
|
class |
PACEKeySpec
A key for PACE, can be CAN, MRZ, PIN, or PUK.
|
class |
PACESecretKeySpec
A secret key for PACE.
|
Modifier and Type | Method and Description |
---|---|
AccessKeySpec |
AccessDeniedException.getAccessKey()
Deprecated.
Returns the BAC key that was tried before BAC failed.
|
Modifier and Type | Method and Description |
---|---|
BACResult |
PassportService.doBAC(AccessKeySpec bacKey)
Performs the Basic Access Control protocol.
|
abstract BACResult |
AbstractMRTDCardService.doBAC(AccessKeySpec bacKey)
Performs the Basic Access Control protocol.
|
PACEResult |
AbstractMRTDCardService.doPACE(AccessKeySpec keySpec,
String oid,
AlgorithmParameterSpec params)
Deprecated.
Use the variant with additional parameter identifier
|
PACEResult |
PassportService.doPACE(AccessKeySpec keySpec,
String oid,
AlgorithmParameterSpec params,
BigInteger parameterId)
Performs the PACE 2.0 / SAC protocol.
|
abstract PACEResult |
AbstractMRTDCardService.doPACE(AccessKeySpec keySpec,
String oid,
AlgorithmParameterSpec params,
BigInteger parameterId)
Performs the PACE 2.0 / SAC protocol.
|
Constructor and Description |
---|
AccessDeniedException(String msg,
AccessKeySpec bacKey,
int sw)
Deprecated.
Creates an exception.
|
Modifier and Type | Method and Description |
---|---|
AccessKeySpec |
BACResult.getBACKey()
Returns the initial access key or
null . |
AccessKeySpec |
PACEResult.getPACEKey()
Returns the access key that was used.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
PACEProtocol.computeKeySeedForPACE(AccessKeySpec accessKey)
Computes a key seed based on an access key.
|
static SecretKey |
PACEProtocol.deriveStaticPACEKey(AccessKeySpec accessKey,
String oid)
Derives the static key K_pi.
|
BACResult |
BACProtocol.doBAC(AccessKeySpec bacKey)
Performs the Basic Access Control protocol.
|
PACEResult |
PACEProtocol.doPACE(AccessKeySpec accessKey,
String oid,
AlgorithmParameterSpec staticParameters,
BigInteger parameterId)
Performs the PACE 2.0 / SAC protocol.
|
Constructor and Description |
---|
BACResult(AccessKeySpec bacKey,
SecureMessagingWrapper wrapper)
Creates a BAC 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.
|
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 © 2023. All rights reserved.