public class ChecksumProxy extends Object
ChecksumChecksum| Constructor and Description |
|---|
ChecksumProxy() |
| Modifier and Type | Method and Description |
|---|---|
static javacard.security.Checksum |
getInstance(byte algorithm,
boolean externalAccess)
Creates a
Checksum object instance of the selected algorithm. |
public static final javacard.security.Checksum getInstance(byte algorithm,
boolean externalAccess)
throws javacard.security.CryptoException
Checksum object instance of the selected algorithm.algorithm - the desired checksum algorithm.externalAccess - true indicates that the instance will be shared among
multiple applet instances and that the Checksum instance will also be accessed (via a Shareable.
interface) when the owner of the Checksum instance is not the currently selected applet.
If true the implementation must not allocate CLEAR_ON_DESELECT transient space for internal data.Checksum object instance of the requested algorithm.javacard.security.CryptoException - with the following reason codes:
CryptoException.NO_SUCH_ALGORITHM if the requested algorithm
or shared access mode is not supported.