CryptoKeyAware

interface CryptoKeyAware

Interface for classes that manage or use CryptoKey instances.

This interface provides a standardized way for classes to declare their dependency on CryptoKey functionality. It's typically used with dependency injection frameworks or initialization patterns to ensure that classes have access to the cryptographic key management capabilities they need.

Implementing classes should ensure that the cryptoKey property is properly initialized before attempting to use cryptographic operations. The property is marked as var to allow for runtime injection or assignment.

See also

Inheritors

Properties

Link copied to clipboard
abstract var cryptoKey: CryptoKey

The CryptoKey instance used for cryptographic operations.