@NonNullByDefault
Package com.microej.crypto.test.util
Utility functions for tests.
-
Class Summary Class Description CipherAssertions Assertions onCiphershared by the cipher test classes.Configuration EcTestResources Lists the elliptic curves exercised by the test suite and locates the pre-generated test material (key pairs, self-signed certificate and signature) of a curve.EnsureAsync<T> Decorator for Callable ensuring that the decorated interface runs in a way that let the VM run other green threads.HexFormat Simplified version ofjava.util.HexFormat.OffsetAssertions Buffers and assertions for the operations that take a byte-array offset, exercised at a non-zero offset.Resources Reads the binary test material (keys, certificates, signatures, payloads) bundled with the test suite.RsaTestResources Lists the RSA key sizes exercised by the test suite and locates the pre-generated test material (key pairs, self-signed certificate and signature) of a key size.TestTime Sets the application time to a date at which every certificate of the test material behaves as its test expects.