CryptSignature class
Properties
- certificateRepository → CertificateRepository
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCertificate(
File file, String password) → Future< Certificate> - Добавить сертификат в хранилище
-
clear(
) → Future< void> - Очистить список сертификатов
-
digest(
Certificate certificate, String password, String message) → Future< DigestResult> - Вычислить хэш сообщения/документа
-
getCertificates(
) → FutureOr< List< Certificate> > - Получить список сертификатов, добавленных пользователем
-
getLicense(
) → Future< License> - Получить информацию о текущей лицензии
-
initCSP(
) → Future< bool> - Инициализировать криптопровайдер
-
interface<
T extends SignResult> (BuildContext context, SignRequest< T> signRequest, {CryptSignatureTheme? theme}) → Future<T?> - Открыть экран выбора сертификата и подписать В случает подписи PKCS7 на Android возвращает PKCS7SignResult Возвращает SignResult для всеъ остальных
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLicense(
String license) → Future< License> - Установить новую лицензию
-
sign(
Certificate certificate, String password, String digest) → Future< SignResult> - Вычислить подпись хэша
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
{CertificateRepository? certificateRepository}) → Future< CryptSignature>