Sdílet prostřednictvím


CodeTransparencyClient.CreateEntryAsync Method

Definition

Post an entry to be registered on the CodeTransparency instance, mandatory in IETF SCITT draft.

public virtual System.Threading.Tasks.Task<Azure.Operation<BinaryData>> CreateEntryAsync(Azure.WaitUntil waitUntil, BinaryData body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateEntryAsync : Azure.WaitUntil * BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Operation<BinaryData>>
override this.CreateEntryAsync : Azure.WaitUntil * BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Operation<BinaryData>>
Public Overridable Function CreateEntryAsync (waitUntil As WaitUntil, body As BinaryData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Operation(Of BinaryData))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

body
BinaryData

CoseSign1 signature envelope.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to