This use case class performs an “encrypt” operation on some data, parametrized by a PairedSecurityKey.
A PairedSecurityKey represents a storable reference to a hardware security key that has been paired before.
Specifically, it contains the security key’s AID, and public keys for key pairs stored on the security key. The AID (Application Identifier) contains a unique serial number, which can be used to identify its related security key when it connects.
This class is primarily used for two use cases:
This class is a serializable POJO, and instances can be stored in a de.cotech.hw.openpgp.storage.PairedSecurityKeyStorage, or any storage that supports Serializable objects.