Class PACEGMWithDHMappingResult

    • Constructor Detail

      • PACEGMWithDHMappingResult

        public PACEGMWithDHMappingResult​(AlgorithmParameterSpec staticParameters,
                                         byte[] piccNonce,
                                         PublicKey piccMappingPublicKey,
                                         KeyPair pcdMappingKeyPair,
                                         byte[] sharedSecret,
                                         AlgorithmParameterSpec ephemeralParameters)
        Constructs a result.
        staticParameters - the static parameters
        piccNonce - the nonce that was sent by the PICC
        piccMappingPublicKey - the mapping public key sent by the PICC
        pcdMappingKeyPair - the key-pair generated by the PCD
        sharedSecret - the shared secret that was derived
        ephemeralParameters - the ephemeral parameters that were derived
    • Method Detail

      • getSharedSecret

        public byte[] getSharedSecret()
        Returns the shared secret that was derived during this protocol step.
        the shared secret