Algorithm enum

Types of supported cryptographic signature algorithms.

Inheritance
Available extensions

Values

rsassaPkcs1V15Md5Sha1 → const Algorithm

Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the MD5-SHA-1 hashing. The extension must not prepend a DigestInfo prefix but only add PKCS#1 padding. This algorithm is deprecated and will never be requested by Chrome as of version 109.

const Algorithm('RSASSA_PKCS1_v1_5_MD5_SHA1')
rsassaPkcs1V15Sha1 → const Algorithm

Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-1 hash function.

const Algorithm('RSASSA_PKCS1_v1_5_SHA1')
rsassaPkcs1V15Sha256 → const Algorithm

Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-256 hashing function.

const Algorithm('RSASSA_PKCS1_v1_5_SHA256')
rsassaPkcs1V15Sha384 → const Algorithm

Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-384 hashing function.

const Algorithm('RSASSA_PKCS1_v1_5_SHA384')
rsassaPkcs1V15Sha512 → const Algorithm

Specifies the RSASSA PKCS#1 v1.5 signature algorithm with the SHA-512 hashing function.

const Algorithm('RSASSA_PKCS1_v1_5_SHA512')
rsassaPssSha256 → const Algorithm

Specifies the RSASSA PSS signature algorithm with the SHA-256 hashing function, MGF1 mask generation function and the salt of the same size as the hash.

const Algorithm('RSASSA_PSS_SHA256')
rsassaPssSha384 → const Algorithm

Specifies the RSASSA PSS signature algorithm with the SHA-384 hashing function, MGF1 mask generation function and the salt of the same size as the hash.

const Algorithm('RSASSA_PSS_SHA384')
rsassaPssSha512 → const Algorithm

Specifies the RSASSA PSS signature algorithm with the SHA-512 hashing function, MGF1 mask generation function and the salt of the same size as the hash.

const Algorithm('RSASSA_PSS_SHA512')

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
toJS String
no setter
value String
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

Static Methods

fromJS(String value) Algorithm

Constants

values → const List<Algorithm>
A constant List of the values in this enum, in order of their declaration.