Zeroizable class abstract interface

Interface for objects that hold sensitive memory buffers (cryptographic keys, tokens, PII) and must overwrite them with zeros on disposal.

Implement this on any class managed by a ZenithContainer that should be cryptographically cleared when container disposal occurs with purgeZeroize: true.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
isZeroized → bool
Whether this object has already been zeroized.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
zeroize() → void
Overwrites the sensitive data with zero bytes.

Operators

operator ==(Object other) → bool
The equality operator.
inherited