Supported Cryptography Classes
The implementation of security and cryptography in the simulator supports the use of the following classes:
-
javacardx.crypto.AEADCipher -
javacardx.crypto.Cipher -
javacard.security.Checksum -
javacardx.security.derivation.DerivationFunction -
javacardx.security.cert.CertificateParser -
javacard.security.InitializedMessageDigest -
javacard.security.KeyAgreement -
javacard.security.KeyBuilder -
javacard.security.KeyPair -
javacard.security.MessageDigest -
javacard.security.RandomData -
javacard.security.Signature -
javacard.security.SignatureMessageRecovery
Table 10-1 lists the cryptography algorithms that are implemented for the simulator.
Table 10-1 Algorithms Implemented by the Cryptography Classes
| Class | Algorithm |
|---|---|
|
|
Supports |
|
|
|
|
|
|
|
|
Provides the functionality of MessageDigest, with the additional ability to allow for initialization with a starting hash value corresponding to a previously hashed part of the message. Provides for SHA1 and SHA256. |
|
|
|
|
|
The algorithms define the key lengths for:
|
|
|
The algorithms define the key lengths for:
|
|
|
Message digest algorithm |
|
|
Pseudo-random number generator with a 48-bit seed, which is modified using a linear congruential formula. |
|
|
|
|
|
|
DerivationFunction |
|
CertificateParser |
|