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