Legation class
This class is used to delegate an authorization from one public-key to another. The Internet-Identity canister signs a delegation for a user's session-key letting the session-key call on the user's behalf.
Constructors
Properties
- expiration_timestamp_nanoseconds → BigInt
-
The expiration for this delegation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- legatee_public_key_DER → Uint8List
-
The DER encoded public-key of the legatee - the receiver of the delegation.
final
- legator_public_key_DER → Uint8List
-
The DER encoded public-key of the legator - the one delegating.
final
- legator_signature → Uint8List
-
The legator's signature on this Legation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
target_canisters_ids
→ List<
Principal> ? -
An optional list of canister principals to restrict the scope of this delegation.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited