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