Uses of Class
org.jmrtd.PACEException
-
Packages that use PACEException Package Description org.jmrtd.protocol -
-
Uses of PACEException in org.jmrtd.protocol
Methods in org.jmrtd.protocol that throw PACEException Modifier and Type Method Description byte[]
PACEProtocol. doPACEStep1(SecretKey staticPACEKey, Cipher staticPACECipher)
The first step in the PACE protocol receives an encrypted nonce from the PICC and decrypts it.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).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.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)
Sends the PCD's public key to the PICC and receives and interprets the PICC's public key in exchange.KeyPair
PACEProtocol. doPACEStep3GenerateKeyPair(String agreementAlg, AlgorithmParameterSpec ephemeralParams)
Chooses a random ephemeral key pair.byte[]
PACEProtocol. doPACEStep3KeyAgreement(String agreementAlg, PrivateKey pcdPrivateKey, PublicKey piccPublicKey)
Performs the key agreement.
-