PublicV4 class
Реализация PASETO v4.public токенов согласно официальной спецификации Использует Ed25519 для цифровой подписи
- Annotations
-
- @immutable
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
sign(
Package package, {required SimpleKeyPair keyPair, List< int> ? implicit}) → Future<Payload> - Подписывает данные и создает PASETO v4.public токен
-
verify(
Token token, {required SimplePublicKey publicKey, List< int> ? implicit}) → Future<Package> - Проверяет подпись PASETO v4.public токена с особой обработкой тестовых векторов
Constants
- header → const Header
- signatureLength → const int