JosePayload class

The payload of a JsonWebSignature or JsonWebEncryption

Contains the data as well as protected header fields

Constructors

JosePayload(List<int> data, [JsonObject? protectedHeader])

Properties

data → List<int>
The binary data of the payload
final
hashCode → int
The hash code for this object.
no setterinherited
jsonContent → dynamic
Return the data as json
no setter
mediaType → String?
The media type IANA.MediaTypes of the payload.
no setter
protectedHeader → JsonObject?
The protected header parameters
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringContent → String
Returns the data as string
no setter

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