JsonWebSignatureBuilder class
Builder for JsonWebSignature
- Inheritance
-
- Object
- JoseObjectBuilder<
JsonWebSignature> - JsonWebSignatureBuilder
Constructors
Properties
- content ← dynamic
-
Sets the
no getterinherited
-
data
↔ List<
int> ? -
The binary payload
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonContent ← dynamic
-
Sets the payload from a json value
no getterinherited
- mediaType ↔ String?
-
The media type IANA.MediaTypes
of the payload.
getter/setter pairinherited
- payload → JosePayload?
-
Returns the payload and protected headers as a JosePayload object
no setterinherited
- protectedHeader → JoseHeader
-
Returns the protected header parameters as a JoseHeader object
no setterinherited
-
recipients
→ List<
Map< String, dynamic> > -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringContent ← String
-
Sets the payload from a string value
no getterinherited
Methods
-
addRecipient(
JsonWebKey? key, {String? algorithm}) → void -
Adds a
key
andalgorithm
to sign or encrypt this objectinherited -
build(
) → JsonWebSignature -
Build the JsonWebSignature or JsonWebEncryption
override
-
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
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited