TestEnvelopeSigner class final
Signs offline as atSign's enrollment enrollmentId with a fresh key pair, for tests; needs no AtClient.
- Annotations
-
- @experimental
Properties
- algorithm → SigningAlgoType
-
no setter
- atSign → Atsign
-
The Atsign, canonical.
final
- enrollmentId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- listedAs → KeyEntryStatus
-
The status publishedApsk lists this signer's key under.
final
- publishedApsk → PublishedApsk
-
The
_apskthis signer's enrollment would publish, listing its key as listedAs.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Object? payload) → SignedEnvelope -
An application envelope over
payload, stamped withissandenid. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
{required String atSign, required String enrollmentId, SigningAlgoType algorithm = SigningAlgoType.mldsa65, KeyEntryStatus listedAs = KeyEntryStatus.active}) → Future< TestEnvelopeSigner> -
A signer with a fresh key pair under
algorithm, which publishedApsk lists aslistedAs: active, retired, or any token, such as one this build does not know.