JsonWebEncryptionBuilder class

Builder for JsonWebSignature

Inheritance

Constructors

JsonWebEncryptionBuilder()

Properties

additionalAuthenticatedData List<int>?
Additional value to be integrity protected by the authenticated encryption operation.
getter/setter pair
content ← dynamic
Sets the
no getterinherited
data List<int>?
The binary payload
getter/setter pairinherited
encryptionAlgorithm String?
The content encryption algorithm to be used to perform authenticated encryption on the plaintext to produce the ciphertext and the Authentication Tag.
getter/setter pair
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 and algorithm to sign or encrypt this object
inherited
build() JsonWebEncryption
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