corretto / amazon-corretto-crypto-provider

The Amazon Corretto Crypto Provider is a collection of high-performance cryptographic implementations exposed via standard JCA/JCE interfaces.
Apache License 2.0
238 stars 56 forks source link

Expose a way to re-run self tests #248

Closed amirhosv closed 2 years ago

amirhosv commented 2 years ago

Issue #7

Expose a way to re-run self tests

The result of self tests are cached and subsequent calls to runSelfTests would rely on the cached results. In this PR, we allow clients to re-run tests by setting a system property.

Testing

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.