SealKey class
Represents an underlying key object in memory
Extends Key to perform SEAL validation on save and load operations. Performs a magic number check on the serialized data.
Constructors
-
SealKey(String name, Pointer<
NativeType> obj) -
Constructs a key referencing the underlying C
obj
in memory - SealKey.ofType(SealKey key)
- Constructs a key from the existing SealKey
Properties
-
data
→ List<
int> -
Returns the key data as a List
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hexData
→ List<
String> -
Returns data as a List
no setterinherited
-
library
↔ Pointer<
NativeType> -
The memory address of the underlying C library
getter/setter pairinherited
- name ↔ String
-
The friendly name of the key.
getter/setter pairinherited
-
obj
↔ Pointer<
NativeType> -
The memory address of the underlying C key object
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serialized
↔ Pointer<
Uint8> -
Byte array containing the key
getter/setter pairinherited
- size ↔ int
-
Size of the serialized key
getter/setter pairinherited
- type ↔ int
-
Type of key
getter/setter pairinherited
Methods
-
load(
Pointer< NativeType> fhe, Pointer<Uint8> serialData, int serialSize) → void -
Load a key from a serialized data
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → void -
Save the key to a serialized data
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited