jpos / jPOS

jPOS Project
http://jpos.org
GNU Affero General Public License v3.0
616 stars 464 forks source link

Define padding method for each CryptogramDataBuilder #612

Closed tilln closed 2 months ago

tilln commented 2 months ago

PR #577 introduced the ability to create padded ARQC data. However, it still requires the caller to specify what padding method to use, while ideally this should be handled by the CryptogramDataBuilder internally.

This PR proposes the following changes:

These are not breaking changes as they impact only 2.1.10-SNAPSHOT and 3.0.0-SNAPSHOT, but not proper releases yet.