MethodChannelCryptoProFlutter class
An implementation of CryptoProFlutterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- CryptoProFlutterPlatform
- MethodChannelCryptoProFlutter
- Mixed-in types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- 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
override
-
addCertificatesToTrustedStorage(
{required List< String> paths}) → Future<void> -
Добавить сертификаты в хранилище доверенных приложения
override
-
addContainerFromExternalStorage(
{required String storageName, required String password, String? newPassword}) → Future< Certificate> -
Добавить внешний контейнер в хранилище
override
-
callWithHandler<
T> (FutureOr< T> func()) → Future<T> -
inherited
-
deleteCertificate(
Certificate certificate) → Future< void> -
Удалить сертификат
override
-
getInstalledCertificates(
) → Future< List< Certificate> > -
Получит список установленных сертификатов
override
-
getLicense(
) → Future< CryptoProLicenseInfo> -
Получить информацию о лицензировании
override
-
getPrivateKeyFromInternalContainerByAlias(
{required String certificateAlias, required String password}) → Future< Certificate> -
Получить сертификат с приватным ключом из внутреннего хранилища приложения
override
-
initCSP(
) → Future< bool> -
Инициализация провайдера
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readContainerFromExternalStorage(
{required String storageName, required String password, String? newPassword}) → Future< Certificate> -
Получить сертификат с приватным ключом из внешнего контейнера
override
-
removeCertificateWithPrivateKeyFromStorage(
{required String certificateAlias}) → Future< void> -
Удаление сертификата и приватного ключа из внутреннего хранилища
override
-
setLicense(
String number) → Future< bool> -
Установить новую лицензию
override
-
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> -
Подписать файл
override
-
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> -
Подписать сообщение
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited