JoseObjectBuilder<T extends JoseObject> class abstract

Implementers

Constructors

JoseObjectBuilder()

Properties

content ← dynamic
Sets the
no getter
data List<int>?
The binary payload
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
jsonContent ← dynamic
Sets the payload from a json value
no getter
mediaType String?
The media type IANA.MediaTypes of the payload.
getter/setter pair
payload JosePayload?
Returns the payload and protected headers as a JosePayload object
no setter
protectedHeader JoseHeader
Returns the protected header parameters as a JoseHeader object
no setter
recipients List<Map<String, dynamic>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringContent String
Sets the payload from a string value
no getter

Methods

addRecipient(JsonWebKey? key, {String? algorithm}) → void
Adds a key and algorithm to sign or encrypt this object
build() → T
Build the JsonWebSignature or JsonWebEncryption
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setProtectedHeader(String key, dynamic value) → void
Sets a shared protected header parameter
toString() String
A string representation of this object.
inherited

Operators

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