CAdESManagerGetToBeSignedDocumentAsync - метод
Пространство имён: Tessa.Extensions.Default.Shared.EDSСборка: Tessa.Extensions.Default.Shared (в Tessa.Extensions.Default.Shared.dll) Версия: 3.6.0.22
public Task<byte[]> GetToBeSignedDocumentAsync(
byte[] certificate,
ISignatureFile file,
DateTime signingTime,
string digestAlgorithmOid = null,
string encryptionAlgorithmOid = null,
CancellationToken cancellationToken = default
)
Public Function GetToBeSignedDocumentAsync (
certificate As Byte(),
file As ISignatureFile,
signingTime As DateTime,
Optional digestAlgorithmOid As String = Nothing,
Optional encryptionAlgorithmOid As String = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Byte())
public:
virtual Task<array<unsigned char>^>^ GetToBeSignedDocumentAsync(
array<unsigned char>^ certificate,
ISignatureFile^ file,
DateTime signingTime,
String^ digestAlgorithmOid = nullptr,
String^ encryptionAlgorithmOid = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetToBeSignedDocumentAsync :
certificate : byte[] *
file : ISignatureFile *
signingTime : DateTime *
?digestAlgorithmOid : string *
?encryptionAlgorithmOid : string *
?cancellationToken : CancellationToken
(* Defaults:
let _digestAlgorithmOid = defaultArg digestAlgorithmOid null
let _encryptionAlgorithmOid = defaultArg encryptionAlgorithmOid null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<byte[]>
override GetToBeSignedDocumentAsync :
certificate : byte[] *
file : ISignatureFile *
signingTime : DateTime *
?digestAlgorithmOid : string *
?encryptionAlgorithmOid : string *
?cancellationToken : CancellationToken
(* Defaults:
let _digestAlgorithmOid = defaultArg digestAlgorithmOid null
let _encryptionAlgorithmOid = defaultArg encryptionAlgorithmOid null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<byte[]>
- certificate Byte
-
- file ISignatureFile
-
- signingTime DateTime
-
- digestAlgorithmOid String (Optional)
-
- encryptionAlgorithmOid String (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskByteICAdESManagerGetToBeSignedDocumentAsync(Byte, ISignatureFile, DateTime, String, String, CancellationToken)