ReleaseSignature class
Signature metadata embedded in a release descriptor.
Constructors
- ReleaseSignature({required String algorithm, required String publicKeyId, required String value})
-
Creates descriptor signature metadata.
const
-
ReleaseSignature.fromJson(Map<
String, dynamic> json) -
Parses signature metadata from the descriptor
signatureobject.factory
Properties
- algorithm → String
-
Signature algorithm identifier, currently expected to be
ed25519.final - hashCode → int
-
The hash code for this object.
no setterinherited
- publicKeyId → String
-
Identifier for the pinned public key that should verify value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Base64-encoded signature bytes.
final
Methods
-
copyWith(
{String? value}) → ReleaseSignature -
Returns a copy with a replacement signature
value. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this signature metadata to descriptor JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited