Sdílet prostřednictvím


CodeTransparencyClient.CreateEntry(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 Azure.Operation<Azure.Security.CodeTransparency.GetOperationResult> CreateEntry (BinaryData body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateEntry : BinaryData * System.Threading.CancellationToken -> Azure.Operation<Azure.Security.CodeTransparency.GetOperationResult>
override this.CreateEntry : BinaryData * System.Threading.CancellationToken -> Azure.Operation<Azure.Security.CodeTransparency.GetOperationResult>
Public Overridable Function CreateEntry (body As BinaryData, Optional cancellationToken As CancellationToken = Nothing) As Operation(Of GetOperationResult)

Parameters

body
BinaryData

A raw CoseSign1 signature.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to