Response class

Vault Release — response payload

Constructors

Response({required SealedEnvelope? sealedSecret, required SecretKind secretKind, required int ttlSeconds, Ext? ext})
const
Response.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sealedSecret → Object?
Pluggable cipher envelope. Cleartext is a vault/_shared/0.1/vault-secret#/$defs/VaultSecret. Consumers reject envelope kinds they don't implement with vault/release:envelopeUnsupported.
final
secretKind → SecretKind
Discriminator so the consumer can pre-allocate the right type before unsealing.
final
ttlSeconds → int
Cache TTL the consumer MUST enforce — wipe the cleartext after this many seconds, even if the user has not finished interacting with it.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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