SignatureParameters class

Constructors

SignatureParameters()
Creates an empty set of signature parameters.
SignatureParameters.copy(SignatureParameters other)
Creates a deep copy of another SignatureParameters instance.

Properties

algorithmIdentifier String?
Returns the configured signing algorithm identifier (alg parameter), if any.
no setter
componentIdentifiers List<SfItem>
The ordered list of Structured Field components that will be signed.
no setter
debugMode bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addComponentIdentifier(String identifier, {Map<String, dynamic>? parameters}) → void
Adds a component identifier to the signature, avoiding duplicates.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serializeComponentValue() String
Serializes the signature parameters into the canonical inner list representation.
setAlg(String value) → void
Sets the alg parameter that advertises the signing algorithm. hmac-sha256 / ecdsa-p256-sha256
setCreated(int timestampSeconds) → void
Records the created timestamp parameter in seconds.
setExpires(int timestampSeconds) → void
Records the expires timestamp parameter in seconds.
setKeyId(String keyId) → void
Sets the keyid parameter to identify the signing key.
setNonce(String nonce) → void
Sets the nonce parameter used for replay protection.
setTag(String tag) → void
Sets the optional tag parameter carried with the signature.
signatureParamsIdentifier() → SfItem
Returns the Structured Field identifier used for the Signature-Params entry.
toString() String
A string representation of this object.
inherited

Operators

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