public class AsymmetricCipherImpl
extends javacardx.crypto.Cipher
ALG_AES_BLOCK_128_CBC_NOPAD, ALG_AES_BLOCK_128_ECB_NOPAD, ALG_AES_BLOCK_192_CBC_NOPAD, ALG_AES_BLOCK_192_ECB_NOPAD, ALG_AES_BLOCK_256_CBC_NOPAD, ALG_AES_BLOCK_256_ECB_NOPAD, ALG_AES_CBC_ISO9797_M1, ALG_AES_CBC_ISO9797_M2, ALG_AES_CBC_PKCS5, ALG_AES_CTR, ALG_AES_ECB_ISO9797_M1, ALG_AES_ECB_ISO9797_M2, ALG_AES_ECB_PKCS5, ALG_DES_CBC_ISO9797_M1, ALG_DES_CBC_ISO9797_M2, ALG_DES_CBC_NOPAD, ALG_DES_CBC_PKCS5, ALG_DES_ECB_ISO9797_M1, ALG_DES_ECB_ISO9797_M2, ALG_DES_ECB_NOPAD, ALG_DES_ECB_PKCS5, ALG_KOREAN_SEED_CBC_NOPAD, ALG_KOREAN_SEED_ECB_NOPAD, ALG_RSA_ISO14888, ALG_RSA_ISO9796, ALG_RSA_NOPAD, ALG_RSA_PKCS1, ALG_RSA_PKCS1_OAEP, CIPHER_AES_CBC, CIPHER_AES_ECB, CIPHER_DES_CBC, CIPHER_DES_ECB, CIPHER_KOREAN_SEED_CBC, CIPHER_KOREAN_SEED_ECB, CIPHER_RSA, MODE_DECRYPT, MODE_ENCRYPT, PAD_ISO9796, PAD_ISO9796_MR, PAD_ISO9797_1_M1_ALG3, PAD_ISO9797_1_M2_ALG3, PAD_ISO9797_M1, PAD_ISO9797_M2, PAD_NOPAD, PAD_NULL, PAD_PKCS1, PAD_PKCS1_OAEP, PAD_PKCS1_OAEP_SHA224, PAD_PKCS1_OAEP_SHA256, PAD_PKCS1_OAEP_SHA3_224, PAD_PKCS1_OAEP_SHA3_256, PAD_PKCS1_OAEP_SHA3_384, PAD_PKCS1_OAEP_SHA3_512, PAD_PKCS1_OAEP_SHA384, PAD_PKCS1_OAEP_SHA512, PAD_PKCS1_PSS, PAD_PKCS5, PAD_RFC2409| Constructor and Description |
|---|
AsymmetricCipherImpl(byte algorithm) |
| Modifier and Type | Method and Description |
|---|---|
short |
doFinal(byte[] inBuff,
short inOffset,
short inLength,
byte[] outBuff,
short outOffset) |
byte |
getAlgorithm() |
byte |
getCipherAlgorithm() |
byte |
getPaddingAlgorithm() |
void |
init(javacard.security.Key theKey,
byte theMode) |
void |
init(javacard.security.Key theKey,
byte theMode,
byte[] bArray,
short bOff,
short bLen) |
short |
update(byte[] inBuff,
short inOffset,
short inLength,
byte[] outBuff,
short outOffset) |
public void init(javacard.security.Key theKey,
byte theMode)
throws javacard.security.CryptoException
init in class javacardx.crypto.Cipherjavacard.security.CryptoExceptionpublic void init(javacard.security.Key theKey,
byte theMode,
byte[] bArray,
short bOff,
short bLen)
throws javacard.security.CryptoException
init in class javacardx.crypto.Cipherjavacard.security.CryptoExceptionpublic byte getAlgorithm()
getAlgorithm in class javacardx.crypto.Cipherpublic short doFinal(byte[] inBuff,
short inOffset,
short inLength,
byte[] outBuff,
short outOffset)
throws javacard.security.CryptoException
doFinal in class javacardx.crypto.Cipherjavacard.security.CryptoExceptionpublic short update(byte[] inBuff,
short inOffset,
short inLength,
byte[] outBuff,
short outOffset)
throws javacard.security.CryptoException
update in class javacardx.crypto.Cipherjavacard.security.CryptoExceptionpublic byte getPaddingAlgorithm()
getPaddingAlgorithm in class javacardx.crypto.Cipherpublic byte getCipherAlgorithm()
getCipherAlgorithm in class javacardx.crypto.Cipher