A more secure wrapper for ByteBuffer.
This class wraps a ByteBuffer, and attempts to ensure that its memory is overwritten when the object is freed, to keep secrets in memory as short a time as possible.
A provider of security key PINs.
Security keys are locked with a PIN, which authenticates all secret key operations. An instance of this interface is required as a parameter for all such operations.
A trivial PinProvider that returns a static PIN.