Class PACEMappingResult

    • Constructor Detail

      • PACEMappingResult

        public PACEMappingResult​(AlgorithmParameterSpec staticParameters,
                                 byte[] piccNonce,
                                 AlgorithmParameterSpec ephemeralParameters)
        Constructs a mapping result.
        Parameters:
        staticParameters - the static agreement parameters
        piccNonce - the nonce that was sent by the PICC
        ephemeralParameters - the resulting ephemeral parameters
    • Method Detail

      • getStaticParameters

        public AlgorithmParameterSpec getStaticParameters()
        Returns the static agreement parameters.
        Returns:
        the original parameters
      • getEphemeralParameters

        public AlgorithmParameterSpec getEphemeralParameters()
        Returns the ephemeral (derived) agreement parameters.
        Returns:
        the resulting parameters
      • getPICCNonce

        public byte[] getPICCNonce()
        Returns the nonce that was sent by the PICC.
        Returns:
        the nonce
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object