Interface SymmetricCryptoCardTransactionManagerFactorySpi

    • Method Detail

      • isExtendedModeSupported

        boolean isExtendedModeSupported()
        Indicates if the "extended" mode is supported.
        Returns:
        True if the "extended" mode is supported, false otherwise.
        Since:
        0.1.0
      • getMaxCardApduLengthSupported

        int getMaxCardApduLengthSupported()
        Returns the max length supported of the card APDU.
        Returns:
        A positive value.
        Since:
        0.1.0
      • createCardTransactionManager

        SymmetricCryptoCardTransactionManagerSpi createCardTransactionManager​(byte[] cardKeyDiversifier,
                                                                              boolean useExtendedMode,
                                                                              java.util.List<byte[]> transactionAuditData)
        Returns a new instance of SymmetricCryptoCardTransactionManagerSpi.
        Parameters:
        cardKeyDiversifier - The card key diversifier to use for the coming cryptographic computations.
        useExtendedMode - Request the use of the extended mode if supported by the crypto service.
        transactionAuditData - The reference of the list where the transaction audit data are recorded.
        Returns:
        A new instance of SymmetricCryptoCardTransactionManagerSpi.
        Throws:
        java.lang.IllegalStateException - If the extended mode is not supported.
        Since:
        0.1.0