A B C D E F G H K M P R S T V 
All Classes All Packages

A

AESCipherTest - Class in com.microej.crypto.test
Tests for AES cipher operations including CBC, CTR, and authenticated cipher modes (e.g.
AESCipherTest() - Constructor for class com.microej.crypto.test.AESCipherTest
 
AESGCMCipherTest - Class in com.microej.crypto.test
 
AESGCMCipherTest() - Constructor for class com.microej.crypto.test.AESGCMCipherTest
 
AESKeyWrapTest - Class in com.microej.crypto.test
Note: No 192-bit key tests, 192-bit AES is commonly unsupported on constrained platforms
AESKeyWrapTest() - Constructor for class com.microej.crypto.test.AESKeyWrapTest
 

B

beforeClass() - Static method in class com.microej.crypto.test.CertificateTest
 

C

call() - Method in class com.microej.crypto.test.util.EnsureAsync
 
CertificateDataTest - Class in com.microej.crypto.test
 
CertificateDataTest() - Constructor for class com.microej.crypto.test.CertificateDataTest
 
CertificateTest - Class in com.microej.crypto.test
 
CertificateTest() - Constructor for class com.microej.crypto.test.CertificateTest
 
CertPathValidatorTest - Class in com.microej.crypto.test
This test class can be used to validate the CertPathValidator low-level implementation.
CertPathValidatorTest() - Constructor for class com.microej.crypto.test.CertPathValidatorTest
 
checkValidityDoesNotThrowExceptionForValidCertificate() - Method in class com.microej.crypto.test.CertificateTest
Uses a known certificate valid for a long time, uses current time to check the certificate validity.
The test succeeds if there is no exception.
checkValidityThrowsExceptionForCertificateNotYetValid() - Method in class com.microej.crypto.test.CertificateTest
Uses a known valid in the future certificate, uses current time to check the certificate validity.
The test expects a CertificateNotYetValidException exception.
checkValidityThrowsExceptionForExpiredCertificate() - Method in class com.microej.crypto.test.CertificateTest
Uses a known old certificate, uses current time to check the certificate validity.
The test expects a CertificateExpiredException exception.
com.microej.crypto.test - package com.microej.crypto.test
 
com.microej.crypto.test.util - package com.microej.crypto.test.util
Utility functions for tests.
Configuration - Class in com.microej.crypto.test.util
 
Configuration() - Constructor for class com.microej.crypto.test.util.Configuration
 

D

DESedeCipherTest - Class in com.microej.crypto.test
 
DESedeCipherTest() - Constructor for class com.microej.crypto.test.DESedeCipherTest
 

E

EnsureAsync<T> - Class in com.microej.crypto.test.util
Decorator for Callable ensuring that the decorated interface runs in a way that let the VM run other green threads.
EnsureAsync(Callable<T>) - Constructor for class com.microej.crypto.test.util.EnsureAsync
 
ExternalKeyStoreTest - Class in com.microej.crypto.test
This test class validates a LLSEC-External-KeyStore Abstraction Layer implementation.
ExternalKeyStoreTest() - Constructor for class com.microej.crypto.test.ExternalKeyStoreTest
 

F

formatHex(byte[]) - Static method in class com.microej.crypto.test.util.HexFormat
 

G

getBase64(String, String) - Static method in class com.microej.crypto.test.util.Configuration
 
getBoolean(String, boolean) - Static method in class com.microej.crypto.test.util.Configuration
 
getBytes(SecureRandom, int) - Method in class com.microej.crypto.test.SecureRandomTest
 
getHex(String, String) - Static method in class com.microej.crypto.test.util.Configuration
 
getInt(String, int) - Static method in class com.microej.crypto.test.util.Configuration
 
getInts(String, String) - Static method in class com.microej.crypto.test.util.Configuration
 
getPassword(String, char[]) - Static method in class com.microej.crypto.test.util.Configuration
 
getString(String, String) - Static method in class com.microej.crypto.test.util.Configuration
 
getStrings(String, String) - Static method in class com.microej.crypto.test.util.Configuration
 

H

HexFormat - Class in com.microej.crypto.test.util
Simplified version of java.util.HexFormat.

K

KeyAgreementTest - Class in com.microej.crypto.test
This test class can be used to validate a KeyAgreement low-level implementation.
KeyAgreementTest() - Constructor for class com.microej.crypto.test.KeyAgreementTest
 
KeyFactoryTest - Class in com.microej.crypto.test
This test class can be used to validate a KeyFactory low-level implementation.
KeyFactoryTest() - Constructor for class com.microej.crypto.test.KeyFactoryTest
 
keyPairArrayGeneration() - Static method in class com.microej.crypto.test.RSACipherTest
Generate the RSA key pair list.
KeyPairGeneratorTest - Class in com.microej.crypto.test
 
KeyPairGeneratorTest() - Constructor for class com.microej.crypto.test.KeyPairGeneratorTest
 

M

MacTest - Class in com.microej.crypto.test
To generate hmac with an hex key : - Use this site : https://cryptii.com/pipes/hmac - Or following openssl command : echo -n "Hi There" | openssl dgst -sha256 -mac HMAC -macopt hexkey:0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b
MacTest() - Constructor for class com.microej.crypto.test.MacTest
 
MessageDigestTest - Class in com.microej.crypto.test
Tests the MessageDigest supported algorithms.
MessageDigestTest() - Constructor for class com.microej.crypto.test.MessageDigestTest
 

P

parseHex(String) - Static method in class com.microej.crypto.test.util.HexFormat
 
PBES2CipherTest - Class in com.microej.crypto.test
 
PBES2CipherTest() - Constructor for class com.microej.crypto.test.PBES2CipherTest
 
PKCS12PBECipherTest - Class in com.microej.crypto.test
 
PKCS12PBECipherTest() - Constructor for class com.microej.crypto.test.PKCS12PBECipherTest
 
PKCS5PaddingCipherTest - Class in com.microej.crypto.test
Tests the PKCS#5 unpadding performed on decryption.
PKCS5PaddingCipherTest() - Constructor for class com.microej.crypto.test.PKCS5PaddingCipherTest
 

R

RSACipherTest - Class in com.microej.crypto.test
 
RSACipherTest() - Constructor for class com.microej.crypto.test.RSACipherTest
 

S

SecretFactoryTest - Class in com.microej.crypto.test
 
SecretFactoryTest() - Constructor for class com.microej.crypto.test.SecretFactoryTest
 
SecureRandomTest - Class in com.microej.crypto.test
 
SecureRandomTest() - Constructor for class com.microej.crypto.test.SecureRandomTest
 
SignatureTest - Class in com.microej.crypto.test
 
SignatureTest() - Constructor for class com.microej.crypto.test.SignatureTest
 

T

tearDown() - Method in class com.microej.crypto.test.SignatureTest
 
test(SecureRandom) - Method in class com.microej.crypto.test.SecureRandomTest
 
testAES128_16bytes() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 16 data bytes using a 128-bit AES key, and verify the output against a precomputed ciphertext.
testAES128_16bytes_no_IV() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 16 data bytes using a 128-bit AES key without an initialization vector.
testAES128_80bytes() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 80 data bytes using a 128-bit AES key, and verify the output against a precomputed ciphertext.
testAES128_80bytes_no_IV() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 80 data bytes using a 128-bit AES key without an initialization vector.
testAES128GCM_16bytes() - Method in class com.microej.crypto.test.AESGCMCipherTest
Test encryption of 16 data bytes using a 128-bit AES key, and verify the output against a precomputed ciphertext.
testAES128GCM_80bytes() - Method in class com.microej.crypto.test.AESGCMCipherTest
Test encryption of 80 data bytes using a 128-bit AES key, and verify the output against a precomputed ciphertext.
testAES256_16bytes() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 16 data bytes using a 256-bit AES key, and verify the output against a precomputed ciphertext.
testAES256_16bytes_no_IV() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 16 data bytes using a 256-bit AES key without an initialization vector.
testAES256_80bytes() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 80 data bytes using a 256-bit AES key, and verify the output against a precomputed ciphertext.
testAES256_80bytes_no_IV() - Method in class com.microej.crypto.test.AESCipherTest
Test encryption of 80 data bytes using a 256-bit AES key without an initialization vector.
testAES256GCM_16bytes() - Method in class com.microej.crypto.test.AESGCMCipherTest
Test encryption of 16 data bytes using a 256-bit AES key, and verify the output against a precomputed ciphertext.
testAES256GCM_80bytes() - Method in class com.microej.crypto.test.AESGCMCipherTest
Test encryption of 80 data bytes using a 256-bit AES key, and verify the output against a precomputed ciphertext.
testAESWrap128_unwrap128() - Method in class com.microej.crypto.test.AESKeyWrapTest
Test wrapping and unwrapping a 128-bit key using a 128-bit KEK.
testAESWrap128_wrap128() - Method in class com.microej.crypto.test.AESKeyWrapTest
Test wrapping a 128-bit key using a 128-bit KEK, and verify the output against the RFC 3394 test vector (section 4.1).
testAESWrap256_unwrap256() - Method in class com.microej.crypto.test.AESKeyWrapTest
Test wrapping and unwrapping a 256-bit key using a 256-bit KEK.
testAESWrap256_wrap128() - Method in class com.microej.crypto.test.AESKeyWrapTest
Test wrapping a 128-bit key using a 256-bit KEK, and verify the output against the RFC 3394 test vector (section 4.3).
testAESWrap256_wrap256() - Method in class com.microej.crypto.test.AESKeyWrapTest
Test wrapping a 256-bit key using a 256-bit KEK, and verify the output against the RFC 3394 test vector (section 4.6).
testAuthenticatedCipherDecrypt() - Method in class com.microej.crypto.test.AESCipherTest
 
testAuthenticatedCipherDecryptWithAad() - Method in class com.microej.crypto.test.AESCipherTest
 
testAuthenticatedCipherEncrypt() - Method in class com.microej.crypto.test.AESCipherTest
 
testAuthenticatedCipherEncryptWithAad() - Method in class com.microej.crypto.test.AESCipherTest
 
testCanUsePrivateKeyFromKeyStoreForKeyAgreement() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testCanUsePrivateKeyFromKeyStoreForSignatureAndVerifyItWithCertificate() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testCanUsePrivateKeyFromKeyStoreForSignatureAndVerifyItWithCertificateWithPayload() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testCanUseSecretKeyFromKeyStoreForCipher() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testCertECC192() - Method in class com.microej.crypto.test.CertificateTest
 
testCertECC224() - Method in class com.microej.crypto.test.CertificateTest
 
testCertECC256() - Method in class com.microej.crypto.test.CertificateTest
 
testCertPem() - Method in class com.microej.crypto.test.CertificateTest
 
testCertRSA1024() - Method in class com.microej.crypto.test.CertificateTest
 
testCertRSA2048() - Method in class com.microej.crypto.test.CertificateTest
 
testCheckEntryType() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testContainsAlias() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testDeleteEntryInvalidAlias() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testDESede_16bytes() - Method in class com.microej.crypto.test.DESedeCipherTest
Test encryption of 16 data bytes using a DESede key, and verify the output against a precomputed ciphertext.
testDESede_16bytes_no_IV() - Method in class com.microej.crypto.test.DESedeCipherTest
Test encryption of 16 data bytes using a DESede key without an initialization vector.
testDESede_80bytes() - Method in class com.microej.crypto.test.DESedeCipherTest
Test encryption of 80 data bytes using a DESede key, and verify the output against a precomputed ciphertext.
testDESede_80bytes_no_IV() - Method in class com.microej.crypto.test.DESedeCipherTest
Test encryption of 80 data bytes using a DESede key without an initialization vector.
testECGeneratedKeyPairSigningCapabilities() - Method in class com.microej.crypto.test.KeyPairGeneratorTest
 
testECKeyPairGeneration() - Method in class com.microej.crypto.test.KeyPairGeneratorTest
 
testECValidateGeneratedKeyPairEncoding() - Method in class com.microej.crypto.test.KeyPairGeneratorTest
 
testEmptyPassword_PBKDF2WithHmacSHA256_generation() - Method in class com.microej.crypto.test.SecretFactoryTest
Test PBKDF2 with Hmac SHA256 empty password Hashing.
testEncryptDecryptWithAAD() - Method in class com.microej.crypto.test.AESGCMCipherTest
Test GCM mode specific encryption and authentication workflow.
testGenerateSecret() - Method in class com.microej.crypto.test.SecretFactoryTest
Test all PBKDF2 with HMAC
testGenerateSeed() - Method in class com.microej.crypto.test.SecureRandomTest
Test that generateSeed returns a byte array of the right length
testGet256Bytes() - Method in class com.microej.crypto.test.SecureRandomTest
Test getting 256 bytes
testGet8192Bytes() - Method in class com.microej.crypto.test.SecureRandomTest
Test getting 8192 bytes
testGetCertificate() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetCertificateChain() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetCertificateChainForInvalidAliasReturnsNull() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetCertificateChainForNonCertificateAliasReturnsNull() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetCertificateForCertificateChainAliasReturnsFirstCertificate() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetCertificateForInvalidAliasReturnsNull() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetCertificateForNonCertificateAliasReturnsNull() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetKey() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetKeyForInvalidAliasReturnsNull() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testGetKeyForNonKeyAliasReturnsNull() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testHmacMD5() - Method in class com.microej.crypto.test.MacTest
Test HmacMD5 algorithm with various messages and key sizes
testHmacSHA1() - Method in class com.microej.crypto.test.MacTest
Test HmacSHA1 algorithm with various messages and key sizes
testHmacSHA256() - Method in class com.microej.crypto.test.MacTest
Test HmacSHA256algorithm with various messages and key sizes
testInvalidAlgorithm() - Method in class com.microej.crypto.test.KeyPairGeneratorTest
Ensure invalid algorithm are handled correctly
testInvalidPaddingIsRejected() - Method in class com.microej.crypto.test.PKCS5PaddingCipherTest
Every form of invalid PKCS#5 padding must be rejected with a BadPaddingException.
testInvalidVerifySHA256withECDSA_key_192() - Method in class com.microej.crypto.test.SignatureTest
Test invalid signature verification using SHA256withECDSA algorithm with 192-bit Elliptic Curve key
testInvalidVerifySHA256withECDSA_key_224() - Method in class com.microej.crypto.test.SignatureTest
Test invalid signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve key
testInvalidVerifySHA256withECDSA_key_256() - Method in class com.microej.crypto.test.SignatureTest
Test invalid signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve key
testInvalidVerifySHA256withRSA_key_1024() - Method in class com.microej.crypto.test.SignatureTest
Test invalid signature verification using SHA256withRSA algorithm with 1024-bit RSA key
testInvalidVerifySHA256withRSA_key_2048() - Method in class com.microej.crypto.test.SignatureTest
Test invalid signature verification using SHA256withRSA algorithm with 2048-bit RSA key
testListAliases() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testListAliasesDoesNotLeakStaleBytes() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testMalformedVerifySHA256withECDSA_key_192() - Method in class com.microej.crypto.test.SignatureTest
Test malformed signature verification using SHA256withRSA algorithm with 2048-bit RSA key
testMalformedVerifySHA256withECDSA_key_224() - Method in class com.microej.crypto.test.SignatureTest
Test malformed signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve key
testMalformedVerifySHA256withECDSA_key_256() - Method in class com.microej.crypto.test.SignatureTest
Test invalid signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve key
testMalformedVerifySHA256withRSA_key_1024() - Method in class com.microej.crypto.test.SignatureTest
Test malformed signature verification using SHA256withRSA algorithm with 1024-bit RSA key
testMalformedVerifySHA256withRSA_key_2048() - Method in class com.microej.crypto.test.SignatureTest
Test signature verification using SHA256withRSA algorithm with 2048-bit RSA key
testManyGenerations() - Method in class com.microej.crypto.test.SecureRandomTest
Test that the PRNG can handle a large number of generations (e.g.
testMD5() - Method in class com.microej.crypto.test.MessageDigestTest
Tests MD5 algorithm with different data sizes.
testMultiPartCipherAndResetOnDoFinalNoPadding() - Method in class com.microej.crypto.test.AESCipherTest
 
testMultipleSecureRandom() - Method in class com.microej.crypto.test.SecureRandomTest
Test creating multiple SecureRandoms
testNext() - Method in class com.microej.crypto.test.SecureRandomTest
Test that next returns ints with the right number of leading zeros
testNextBytes() - Method in class com.microej.crypto.test.SecureRandomTest
Test that nextBytes does not always return zeros
testParallelCipherEncryption() - Method in class com.microej.crypto.test.AESCipherTest
Test parallel Cipher initialization and encryption
testParallelCipherEncryption() - Method in class com.microej.crypto.test.AESGCMCipherTest
Test parallel Cipher initialization and encryption
testParallelCipherEncryption() - Method in class com.microej.crypto.test.DESedeCipherTest
Test parallel Cipher initialization and encryption
testParallelKeyWrap() - Method in class com.microej.crypto.test.AESKeyWrapTest
Test parallel Cipher initialization and key wrapping.
testPBES2_EmptyPassword_Fixed_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with an empty password, fixed salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_EmptyPassword_Fixed_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with an empty password, fixed salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_EmptyPassword_Fixed_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with an empty password, fixed salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Fixed_16BytesPassword_Fixed_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 16Bytes password, fixed salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Fixed_16BytesPassword_Fixed_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 16Bytes password, fixed salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_Fixed_16BytesPassword_Fixed_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 16Bytes password, fixed salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Fixed_1BytePassword_Fixed_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 1Byte password, fixed salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Fixed_1BytePassword_Fixed_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 1Byte password, fixed salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_Fixed_1BytePassword_Fixed_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 1Byte password, fixed salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Fixed_32BytesPassword_Fixed_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 32Bytes password, fixed salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Fixed_32BytesPassword_Fixed_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 32Bytes password, fixed salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_Fixed_32BytesPassword_Fixed_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 32Bytes password, fixed salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Fixed_64BytesPassword_Fixed_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 64Bytes password, fixed salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Fixed_64BytesPassword_Fixed_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 64Bytes password, fixed salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_Fixed_64BytesPassword_Fixed_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a fixed 64Bytes password, fixed salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_No_Params() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers without any parameters, encrypting 80 bytes of data (size irrelevant).
testPBES2_Random_16BytesPassword_Random_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 16Bytes password, random salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Random_16BytesPassword_Random_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 16Bytes password, random salt , iteration count and IV, encrypting 1 byte of data.
testPBES2_Random_16BytesPassword_Random_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 16Bytes password, random salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Random_1BytePassword_Random_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 1Byte password, random salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Random_1BytePassword_Random_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 1Byte password, random salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_Random_1BytePassword_Random_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 1Byte password, random salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Random_32BytesPassword_Random_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 32Bytes password, random salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Random_32BytesPassword_Random_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 32Bytes password, random salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_Random_32BytesPassword_Random_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 32Bytes password, random salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Random_64BytesPassword_Random_Salt_ICount_IV_16Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 64Bytes password, random salt, iteration count and IV, encrypting 16 bytes of data.
testPBES2_Random_64BytesPassword_Random_Salt_ICount_IV_1Byte() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 64Bytes password, random salt, iteration count and IV, encrypting 1 byte of data.
testPBES2_Random_64BytesPassword_Random_Salt_ICount_IV_80Bytes() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with a random 64Bytes password, random salt, iteration count and IV, encrypting 80 bytes of data.
testPBES2_Wrong_Params() - Method in class com.microej.crypto.test.PBES2CipherTest
Test the all supported PBES2 ciphers with bad parameters.
testPKCS12PBE_EmptyPassword_Fixed_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with an empty password, fixed salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_EmptyPassword_Fixed_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with an empty password, fixed salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_EmptyPassword_Fixed_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with an empty password, fixed salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Fixed_16BytesPassword_Fixed_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 16Bytes password, fixed salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Fixed_16BytesPassword_Fixed_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 16Bytes password, fixed salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Fixed_16BytesPassword_Fixed_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 16Bytes password, fixed salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Fixed_1BytePassword_Fixed_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 1Byte password, fixed salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Fixed_1BytePassword_Fixed_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 1Byte password, fixed salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Fixed_1BytePassword_Fixed_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 1Byte password, fixed salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Fixed_32BytesPassword_Fixed_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 32Bytes password, fixed salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Fixed_32BytesPassword_Fixed_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 32Bytes password, fixed salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Fixed_32BytesPassword_Fixed_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 32Bytes password, fixed salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Fixed_64BytesPassword_Fixed_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 64Bytes password, fixed salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Fixed_64BytesPassword_Fixed_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 64Bytes password, fixed salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Fixed_64BytesPassword_Fixed_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 64Bytes password, fixed salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Fixed_Password_Fixed_Salt_ICount_IV() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a fixed 32Bytes password (size irrelevant), fixed salt and iteration count, encrypting 80 bytes of data (size irrelevant).
testPKCS12PBE_No_Params() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers without any parameters, encrypting 80 bytes of data (size irrelevant).
testPKCS12PBE_Random_16BytesPassword_Random_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 16Bytes password, random salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Random_16BytesPassword_Random_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 16Bytes password, random salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Random_16BytesPassword_Random_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 16Bytes password, random salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Random_1BytePassword_Random_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 1Byte password, random salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Random_1BytePassword_Random_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 1Byte password, random salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Random_1BytePassword_Random_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 1Byte password, random salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Random_32BytesPassword_Random_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 32Bytes password, random salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Random_32BytesPassword_Random_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 32Bytes password, random salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Random_32BytesPassword_Random_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 32Bytes password, random salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Random_64BytesPassword_Random_Salt_ICount_16Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 64Bytes password, random salt and iteration count, encrypting 16 bytes of data.
testPKCS12PBE_Random_64BytesPassword_Random_Salt_ICount_1Byte() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 64Bytes password, random salt and iteration count, encrypting 1 byte of data.
testPKCS12PBE_Random_64BytesPassword_Random_Salt_ICount_80Bytes() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with a random 64Bytes password, random salt and iteration count, encrypting 80 bytes of data.
testPKCS12PBE_Wrong_Params() - Method in class com.microej.crypto.test.PKCS12PBECipherTest
Test the all supported PKCS12 PBE ciphers with bad parameters.
testRejectsKeyIvReuseOnReinit() - Method in class com.microej.crypto.test.AESGCMCipherTest
Verifies that re-initializing a GCM cipher for encryption with the same key and IV is rejected, preventing catastrophic nonce reuse.
testRoundTripVariousLengths() - Method in class com.microej.crypto.test.PKCS5PaddingCipherTest
Encrypting then decrypting must return the original plaintext for input lengths that span every padding value, including a length that is an exact multiple of the block size (which appends a full padding block).
testRSA_OAEP_params() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithdigestAndMGF1Padding" cipher with a single-part operation containing 1 byte of input data and explicit OAEP encryption parameters.
testRSA_OAEPWithSHA1AndMGF1Padding_MultiPart_16bytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" cipher with a multi-part operation containing 16 bytes of input data.
testRSA_OAEPWithSHA1AndMGF1Padding_SinglePart_16bytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" cipher with a single-part operation containing 16 bytes of input data.
testRSA_OAEPWithSHA1AndMGF1Padding_SinglePart_1byte() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" cipher with a single-part operation containing 1 byte of input data.
testRSA_OAEPWithSHA1AndMGF1Padding_SinglePart_lengthError() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" cipher with a single-part operation containing a big input data that is expected to throw an exception.
testRSA_OAEPWithSHA1AndMGF1Padding_SinglePart_maxBytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" cipher with a single-part operation containing max bytes of input data.
testRSA_OAEPWithSHA256AndMGF1Padding_MultiPart_16bytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" cipher with a multi-part operation containing 16 bytes of input data.
testRSA_OAEPWithSHA256AndMGF1Padding_SinglePart_16bytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" cipher with a single-part operation containing 16 bytes of input data.
testRSA_OAEPWithSHA256AndMGF1Padding_SinglePart_1byte() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" cipher with a single-part operation containing 1 byte of input data.
testRSA_OAEPWithSHA256AndMGF1Padding_SinglePart_lengthError() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" cipher with a single-part operation containing a big input data that is expected to throw an exception.
testRSA_OAEPWithSHA256AndMGF1Padding_SinglePart_maxBytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" cipher with a single-part operation containing max bytes of input data.
testRSA_PKCS1Padding_MultiPart_16bytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/PKCS1Padding" cipher with a multi-part operation containing 16 bytes of input data.
testRSA_PKCS1Padding_SinglePart_16bytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/PKCS1Padding" cipher with a single-part operation containing 16 bytes of input data.
testRSA_PKCS1Padding_SinglePart_1byte() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/PKCS1Padding" cipher with a single-part operation containing 1 byte of input data.
testRSA_PKCS1Padding_SinglePart_lengthError() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/PKCS1Padding" cipher with a single-part operation containing a big input data that is expected to throw an exception.
testRSA_PKCS1Padding_SinglePart_maxBytes() - Method in class com.microej.crypto.test.RSACipherTest
Test the "RSA/ECB/PKCS1Padding" cipher with a single-part operation containing max bytes of input data.
testRSAGeneratedKeyPairSigningCapabilities() - Method in class com.microej.crypto.test.KeyPairGeneratorTest
 
testRSAKeyPairGeneration() - Method in class com.microej.crypto.test.KeyPairGeneratorTest
 
testRSAValidateGeneratedKeyPairEncoding() - Method in class com.microej.crypto.test.KeyPairGeneratorTest
 
testSecureRandomsWithDifferentSeeds() - Method in class com.microej.crypto.test.SecureRandomTest
Test that two SecureRandoms created using the different seeds return different lists of values
testSecureRandomsWithDifferentSeeds2() - Method in class com.microej.crypto.test.SecureRandomTest
Test that two SecureRandoms created using the different seeds return different lists of values
testSeedSupplement() - Method in class com.microej.crypto.test.SecureRandomTest
Test that setSeed() "supplements, rather than replaces, the existing seed"
testSetCertificateAndDeleteEntry() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testSetCertificateEntry() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testSetKeyEntryPrivateKeyAndCertificateChain() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testSetKeyEntryPrivateKeyProtected() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testSetKeyEntrySecretKey() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testSetPrivateKeyProtectedAndDeleteEntry() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testSetSecretKeyAndDeleteEntry() - Method in class com.microej.crypto.test.ExternalKeyStoreTest
 
testSetSeed() - Method in class com.microej.crypto.test.SecureRandomTest
Test setting the seed
testSHA1() - Method in class com.microej.crypto.test.MessageDigestTest
Tests SHA-1 algorithm with different data sizes.
testSHA256() - Method in class com.microej.crypto.test.MessageDigestTest
Tests SHA-256 algorithm with different data sizes.
testSHA512() - Method in class com.microej.crypto.test.MessageDigestTest
Tests SHA-512 algorithm with different data sizes.
testSignSHA256withECDSA_key_192() - Method in class com.microej.crypto.test.SignatureTest
Test signature creation using SHA256withECDSA algorithm with 192-bit Elliptic Curve key
testSignSHA256withECDSA_key_224() - Method in class com.microej.crypto.test.SignatureTest
Test signature creation using SHA256withECDSA algorithm with 224-bit Elliptic Curve key
testSignSHA256withECDSA_key_256() - Method in class com.microej.crypto.test.SignatureTest
Test signature creation using SHA256withECDSA algorithm with 256-bit Elliptic Curve key
testSignSHA256withRSA_key_1024() - Method in class com.microej.crypto.test.SignatureTest
Test signature creation using SHA256withRSA algorithm with 1024-bit RSA key
testSignSHA256withRSA_key_2048() - Method in class com.microej.crypto.test.SignatureTest
Test signature creation using SHA256withRSA algorithm with 2048-bit RSA key
testUpdateAADWithNonZeroOffset() - Method in class com.microej.crypto.test.AESGCMCipherTest
Verifies that additional authenticated data supplied at a non-zero offset is authenticated over the requested sub-range only.
testVerifySHA256withECDSA_key_192() - Method in class com.microej.crypto.test.SignatureTest
Test signature verification using SHA256withECDSA algorithm with 192-bit Elliptic Curve key
testVerifySHA256withECDSA_key_224() - Method in class com.microej.crypto.test.SignatureTest
Test signature verification using SHA256withECDSA algorithm with 224-bit Elliptic Curve key
testVerifySHA256withECDSA_key_256() - Method in class com.microej.crypto.test.SignatureTest
Test signature verification using SHA256withECDSA algorithm with 256-bit Elliptic Curve key
testVerifySHA256withRSA_key_1024() - Method in class com.microej.crypto.test.SignatureTest
Test signature verification using SHA256withRSA algorithm with 1024-bit RSA key
testVerifySHA256withRSA_key_2048() - Method in class com.microej.crypto.test.SignatureTest
Test signature verification using SHA256withRSA algorithm with 2048-bit RSA key
THRESHOLD_MS_DEFAULT - Static variable in class com.microej.crypto.test.util.EnsureAsync
 
THRESHOLD_MS_PROPERTY - Static variable in class com.microej.crypto.test.util.EnsureAsync
 

V

verifyCertificateWithInvalidKey_EC_P192() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using an unrelated public key.
verifyCertificateWithInvalidKey_EC_P224() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using an unrelated public key.
verifyCertificateWithInvalidKey_EC_P256() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using an unrelated public key.
verifyCertificateWithInvalidKey_RSA_1024() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using an unrelated public key.
verifyCertificateWithInvalidKey_RSA_2048() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using an unrelated public key.
verifyCertificateWithValidKey_EC_P192() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using the public part of the key that was used to sign it.
verifyCertificateWithValidKey_EC_P224() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using the public part of the key that was used to sign it.
verifyCertificateWithValidKey_EC_P256() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using the public part of the key that was used to sign it.
verifyCertificateWithValidKey_RSA_1024() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using the public part of the key that was used to sign it.
verifyCertificateWithValidKey_RSA_2048() - Method in class com.microej.crypto.test.CertificateTest
Verifies the signature of a certificate using the public part of the key that was used to sign it.
A B C D E F G H K M P R S T V 
All Classes All Packages