javacardx.framework.math (Java Card API, Connected Edition)
Date: 2009-12-11

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package javacardx.framework.math

Extension package that contains common utility functions for BCD math and parity computations.

See:
Description

Class Summary
BCDUtil | The `BCDUtil` class contains common BCD(binary coded decimal) related utility functions.
BigNumber | The `BigNumber` class encapsulates an unsigned number whose value is represented in internal hexadecimal format using an implementation specific maximum number of bytes.
ParityBit | The `ParityBit` class is a utility to assist with DES key parity bit generation.

## Package javacardx.framework.math Description

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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.