Key class

Domain for a public key, key pair or an HMAC secret. This is used by KeyMaster to manage keys for JWTs, SAML, etc.

@author Brian Pontarelli

Annotations
  • @JsonSerializable()

Constructors

Key({KeyAlgorithm algorithm, String certificate, CertificateInformation certificateInformation, num expirationInstant, bool hasPrivateKey, String id, num insertInstant, String issuer, String kid, num lastUpdateInstant, num length, String name, String privateKey, String publicKey, String secret, KeyType type})
Key.fromJson(Map<String, dynamic> json)
factory

Properties

algorithm KeyAlgorithm
getter/setter pair
certificate String
getter/setter pair
certificateInformation CertificateInformation
getter/setter pair
expirationInstant num
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasPrivateKey bool
getter/setter pair
id String
getter/setter pair
insertInstant num
getter/setter pair
issuer String
getter/setter pair
kid String
getter/setter pair
lastUpdateInstant num
getter/setter pair
length num
getter/setter pair
name String
getter/setter pair
privateKey String
getter/setter pair
publicKey String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String
getter/setter pair
type KeyType
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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