CryptoProFlutterPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • CryptoProFlutterPlatform
Implementers

Constructors

CryptoProFlutterPlatform.new()
Constructs a CryptoProFlutterPlatform.

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

addCertificate({required File file, required String password, String? newPassword}) Future<Certificate>
Добавить новый сертификат в формате Pfx
addCertificatesToTrustedStorage({required List<String> paths}) Future<void>
Добавить сертификаты в хранилище доверенных приложения
addContainerFromExternalStorage({required String storageName, required String password, String? newPassword}) Future<Certificate>
Добавить внешний контейнер в хранилище
deleteCertificate(Certificate certificate) Future<void>
Удалить сертификат
getInstalledCertificates() Future<List<Certificate>>
Получит список установленных сертификатов
getLicense() Future<CryptoProLicenseInfo>
Получить информацию о лицензировании
getPrivateKeyFromInternalContainerByAlias({required String certificateAlias, required String password}) Future<Certificate>
Получить сертификат с приватным ключом из внутреннего хранилища приложения
initCSP() Future<bool>
Инициализация провайдера
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readContainerFromExternalStorage({required String storageName, required String password}) Future<Certificate>
Получить сертификат с приватным ключом из внешнего контейнера
removeCertificateWithPrivateKeyFromStorage({required String certificateAlias}) Future<void>
Удаление сертификата и приватного ключа из внутреннего хранилища
setLicense(String number) Future<bool>
Установить новую лицензию
signFile({required File file, required Certificate certificate, required String password, required CAdESFormat format, bool isDetached = true, bool disableOnlineValidation = false, String? tsaUrl, String? storageName}) Future<String>
Подписать файл
signMessage({required String message, required Certificate certificate, required String password, required CAdESFormat format, bool isDetached = true, bool signHash = false, bool disableOnlineValidation = false, String? tsaUrl, String? storageName}) Future<String>
Подписать сообщение
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance CryptoProFlutterPlatform
The default instance of CryptoProFlutterPlatform to use.
getter/setter pair