SigningAlgorithm enum
An algorithm a KeyPair signs with: a curve, a hash, and a signature
encoding, ASN.1 DER or fixed-length r || s.
Each signs as the VerificationAlgorithm of the same name verifies.
Values
- p256Sha256Asn1 → const SigningAlgorithm
-
ECDSA on P-256 with SHA-256, DER-encoded.
const SigningAlgorithm(0) - p256Sha256Fixed → const SigningAlgorithm
-
ECDSA on P-256 with SHA-256, fixed-length, as JWS's ES256.
const SigningAlgorithm(1) - p384Sha384Asn1 → const SigningAlgorithm
-
ECDSA on P-384 with SHA-384, DER-encoded.
const SigningAlgorithm(2) - p384Sha384Fixed → const SigningAlgorithm
-
ECDSA on P-384 with SHA-384, fixed-length, as JWS's ES384.
const SigningAlgorithm(3) - p521Sha512Asn1 → const SigningAlgorithm
-
ECDSA on P-521 with SHA-512, DER-encoded.
const SigningAlgorithm(4) - p521Sha512Fixed → const SigningAlgorithm
-
ECDSA on P-521 with SHA-512, fixed-length, as JWS's ES512.
const SigningAlgorithm(5)
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
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<
SigningAlgorithm> - A constant List of the values in this enum, in order of their declaration.