DefaultEDSManagerGenerateSignatureAsync - метод
Подписывает документ при помощи указанного сертификата.
Пространство имён: Tessa.Extensions.Default.Shared.EDSСборка: Tessa.Extensions.Default.Shared (в Tessa.Extensions.Default.Shared.dll) Версия: 3.6.0.22
public override ValueTask<byte[]> GenerateSignatureAsync(
byte[] certificate,
ISignatureFile file,
string hashAlgo,
CancellationToken cancellationToken = default
)
Public Overrides Function GenerateSignatureAsync (
certificate As Byte(),
file As ISignatureFile,
hashAlgo As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of Byte())
public:
virtual ValueTask<array<unsigned char>^> GenerateSignatureAsync(
array<unsigned char>^ certificate,
ISignatureFile^ file,
String^ hashAlgo,
CancellationToken cancellationToken = CancellationToken()
) override
abstract GenerateSignatureAsync :
certificate : byte[] *
file : ISignatureFile *
hashAlgo : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<byte[]>
override GenerateSignatureAsync :
certificate : byte[] *
file : ISignatureFile *
hashAlgo : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<byte[]>
- certificate Byte
- Сертификат электронной подписи.
- file ISignatureFile
- Документ, который необходимо подписать.
- hashAlgo String
-
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskByteСгенерированный файл подписи.
IEDSManagerGenerateSignatureAsync(Byte, ISignatureFile, String, CancellationToken)