Key class

This protocol has been designed to operate with almost any public key format, encoding, and algorithm (signature and/or encryption).

Constructors

Key()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
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. [...]
inherited

Operators

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

Static Properties

supported SupportedFunction
read / write

Static Methods

ellipticCurve(int id) ECDomainParameters
ellipticCurveDSA(int id) bool
ellipticCurveHash(int id) Digest
ellipticCurveName(int id) String
ellipticCurveSecretBits(int id) int
id(String name) int
name(int id) String
preferenceCsv([int startAfter = 0]) String
preferenceIntersect(String intersectCsv, [bool server = false, int startAfter = 0]) int

Constants

ECDSA_SHA2_NISTP256 → const int
2
ECDSA_SHA2_NISTP384 → const int
3
ECDSA_SHA2_NISTP521 → const int
4
ED25519 → const int
1
End → const int
5
RSA → const int
5