UnsupportedFipsBackend class final

A platform with no validated module reachable from this plugin: every call throws unsupported.

Implemented types

Constructors

UnsupportedFipsBackend(String platform)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
platform → String
The platform name, for the error message.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

aesGcmDecrypt(Uint8List key, Uint8List wire, Uint8List? aad) → Future<Uint8List>
AES-256-GCM open; any failure is authentication_failed.
override
aesGcmEncrypt(Uint8List key, Uint8List plaintext, Uint8List? aad) → Future<Uint8List>
AES-256-GCM with a module-generated nonce: nonce(12) | ciphertext | tag(16).
override
digest(FipsHash hash, Uint8List data) → Future<Uint8List>
Digest of data.
override
hkdf(FipsHash hash, Uint8List ikm, Uint8List? salt, Uint8List? info, int count) → Future<Uint8List>
HKDF extract-and-expand to count bytes.
override
hmac(FipsHash hash, Uint8List key, Uint8List data) → Future<Uint8List>
HMAC of data under key (at least 14 bytes).
override
module() → Future<FipsModuleInfo>
What performs the operations.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
p256Ecdh(Uint8List privateKey, Uint8List peerPublic) → Future<Uint8List>
ECDH shared secret (32 bytes).
override
p256Keygen() → Future<KeyPairResult>
A fresh P-256 key pair: 65-byte public point, 32-byte scalar.
override
p256Sign(Uint8List privateKey, Uint8List message) → Future<Uint8List>
ECDSA with SHA-256, DER signature.
override
p256Verify(Uint8List publicKey, Uint8List message, Uint8List signature) → Future<bool>
ECDSA verification.
override
pbkdf2(FipsHash hash, Uint8List password, Uint8List salt, int iterations, int count) → Future<Uint8List>
PBKDF2: salt at least 16 bytes, iterations at least 1000.
override
random(int count) → Future<Uint8List>
count bytes from the module DRBG.
override
toString() → String
A string representation of this object.
inherited

Operators

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