FingerprintType enum Null safety

Types of fingerprints of public keys.

Used by RSAPublicKeyWithInfo.fingerprint to specify what type of algorithm to use to generate the fingerprint.

Example of a SHA-256 fingerprint:

SHA256:yKe8u3tiTOwRhJk9yU0npcQf7t8zxlP2KY7UwspYLBs

Example of a MD5 fingerprint:

MD5:12:be:93:1f:16:34:b1:0d:4a:19:d9:b5:5b:da:d5:76

Constants

md5 → const FingerprintType

Fingerprint using the MD5 algorithm

const FingerprintType(1)
sha256 → const FingerprintType

Fingerprint using the SHA-256 algorithm

const FingerprintType(0)
values → const List<FingerprintType>

A constant List of the values in this enum, in order of their declaration.

const List<FingerprintType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited