ICAdESManagerGetToBeSignedDocumentAsync - метод |
Пространство имён:
Tessa.Platform.EDS
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис Task<byte[]> GetToBeSignedDocumentAsync(
byte[] certificate,
ISignatureFile file,
DateTime signingTime,
string digestAlgorithmOid = null,
string encriptionAlgorithmOid = null,
CancellationToken cancellationToken = default
)
Function GetToBeSignedDocumentAsync (
certificate As Byte(),
file As ISignatureFile,
signingTime As DateTime,
Optional digestAlgorithmOid As String = Nothing,
Optional encriptionAlgorithmOid As String = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Byte())
Task<array<unsigned char>^>^ GetToBeSignedDocumentAsync(
array<unsigned char>^ certificate,
ISignatureFile^ file,
DateTime signingTime,
String^ digestAlgorithmOid = nullptr,
String^ encriptionAlgorithmOid = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetToBeSignedDocumentAsync :
certificate : byte[] *
file : ISignatureFile *
signingTime : DateTime *
?digestAlgorithmOid : string *
?encriptionAlgorithmOid : string *
?cancellationToken : CancellationToken
(* Defaults:
let _digestAlgorithmOid = defaultArg digestAlgorithmOid null
let _encriptionAlgorithmOid = defaultArg encriptionAlgorithmOid null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<byte[]>
Параметры
- certificate
- Тип: SystemByte
- file
- Тип: Tessa.Platform.EDSISignatureFile
- signingTime
- Тип: SystemDateTime
- digestAlgorithmOid (Optional)
- Тип: SystemString
- encriptionAlgorithmOid (Optional)
- Тип: SystemString
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskByteСм. также