Extension package that contains common utility functions for BCD math and parity computations. If implemented, the implementation must also include the other sub-packages of javacardx.framework - util, and tlv.
The javacardx.framework.math package contains the BCDUtil class, the BigNumber class, the ParityBit class. The BCDUtil class provides methods for converting array data from hexadecimal format to BCD and vice versa. The BigNumber class supports a stored value paradigm for a storing large unsigned value and performing arithmetic operations on it. The ParityBit class is useful for computing the parity bits on a derived DES key.
Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms