Share via


CodeTransparencyClient.CreateEntryAsync(BinaryData, CancellationToken) Method

Definition

Post an entry to be registered on the CodeTransparency instance. The returned operation will have the entry id when it is complete.

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

Parameters

body
BinaryData

A raw CoseSign1 signature.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to