EnvelopeSignature class

One entry of a SignedEnvelope's signatures array: a protected header and the signature over it.

Both halves are kept as the base64url text they arrived as, never decoded and re-encoded, because the signing input is those exact characters joined by a dot.

Constructors

EnvelopeSignature.fromJson(Object? json)
Parses one entry, refusing anything malformed.
factory

Properties

alg → String?
The JOSE algorithm this signature is under (RS256, ML-DSA-65). Null when the header names none, which verifyEnvelope refuses.
no setter
enid → String?
The signer's enrollment-id claim, or null when it makes none — a connection holding no enrollment id publishes at _apsk.primary.
no setter
hashCode → int
The hash code for this object.
no setteroverride
The decoded protected header; an entry whose header cannot be read is refused at construction.
final
iss → String?
The signer's Atsign claim as the header spells it, or null when it makes none, as no envelope at_client 4.0.0 signed does.
no setter
kid → String?
The signing key this signature was made with — the entry to look up in the signer's _apsk.
no setter
protected → String
The protected header, base64url, verbatim.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → String
The signature, base64url, verbatim.
final
typ → String?
What this signature was made for — the EnvelopeType.typ the signer stamped. Null when the header names none, which verifyEnvelope refuses rather than assuming a purpose.
no setter
version → Object?
The envelope-shape version this entry was signed under.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The wire form.
toString() → String
A string representation of this object.
inherited

Operators

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