hwsecurity / de.cotech.hw.secrets

Package de.cotech.hw.secrets

Types

Name Summary
ByteSecret

open class ByteSecret

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.

PinProvider

interface PinProvider

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.

StaticPinProvider

open class StaticPinProvider :PinProvider

A trivial PinProvider that returns a static PIN.