Package | Description |
---|---|
org.jmrtd | |
org.jmrtd.protocol |
Modifier and Type | Method and Description |
---|---|
PACEResult |
PassportService.doPACE(AccessKeySpec keySpec,
String oid,
AlgorithmParameterSpec params)
Performs the PACE 2.0 / SAC protocol.
|
Modifier and Type | Method and Description |
---|---|
PACEResult |
PACEProtocol.doPACE(AccessKeySpec accessKey,
String oid,
AlgorithmParameterSpec params)
Performs the PACE 2.0 / SAC protocol.
|
PACEResult |
PACEProtocol.doPACE(KeySpec accessKey,
String oid,
AlgorithmParameterSpec params)
Deprecated.
Use the variant of this method that takes an AccessKeySpec
|
byte[] |
PACEProtocol.doPACEStep1(SecretKey staticPACEKey,
Cipher staticPACECipher)
The first step in the PACE protocol receives an encrypted nonce from the PICC
and decrypts it.
|
PACEResult.PACEMappingResult |
PACEProtocol.doPACEStep2(PACEInfo.MappingType mappingType,
String agreementAlg,
AlgorithmParameterSpec params,
byte[] piccNonce,
Cipher staticPACECipher)
The second step in the PACE protocol computes ephemeral domain parameters
by mapping the PICC generated nonce (and optionally the PCD generated nonce,
which will be exchanged, in case of Integrated Mapping).
|
PACEResult.PACEGMMappingResult |
PACEProtocol.doPACEStep2GM(String agreementAlg,
AlgorithmParameterSpec params,
byte[] piccNonce)
The second step in the PACE protocol (GM case) computes ephemeral domain parameters
by performing a key agreement protocol with the PICC nonce as
input.
|
PACEResult.PACEIMMappingResult |
PACEProtocol.doPACEStep2IM(String agreementAlg,
AlgorithmParameterSpec params,
byte[] piccNonce,
Cipher staticPACECipher)
The second step in the PACE protocol computes ephemeral domain parameters
by performing a key agreement protocol with the PICC and PCD nonces as
input.
|
PublicKey |
PACEProtocol.doPACEStep3ExchangePublicKeys(PublicKey pcdPublicKey,
AlgorithmParameterSpec ephemeralParams) |
KeyPair |
PACEProtocol.doPACEStep3GenerateKeyPair(String agreementAlg,
AlgorithmParameterSpec ephemeralParams) |
byte[] |
PACEProtocol.doPACEStep3KeyAgreement(String agreementAlg,
PrivateKey pcdPrivateKey,
PublicKey piccPublicKey) |
byte[] |
PACEProtocol.doPACEStep4(String oid,
PACEInfo.MappingType mappingType,
KeyPair pcdKeyPair,
PublicKey piccPublicKey,
SecretKey macKey) |
Copyright © 2018. All rights reserved.