SignatureAlgorithm enum
Represents the different signature algorithms supported by Askar.
Values
- edDSA → const SignatureAlgorithm
-
Edwards-curve Digital Signature Algorithm (EdDSA).
const SignatureAlgorithm('eddsa')
- eS256 → const SignatureAlgorithm
-
ECDSA using P-256 and SHA-256.
const SignatureAlgorithm('es256')
- eS256K → const SignatureAlgorithm
-
ECDSA using secp256k1 and SHA-256.
const SignatureAlgorithm('es256k')
- eS384 → const SignatureAlgorithm
-
ECDSA using P-384 and SHA-384.
const SignatureAlgorithm('es384')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The string value associated with the signature algorithm.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SignatureAlgorithm> - A constant List of the values in this enum, in order of their declaration.