CodeTransparencyClient.GetScittKeyAsync Method

Definition

Overloads

Name Description
GetScittKeyAsync(String, CancellationToken)

Get a single service key by kid, per Section 2.2 of draft-ietf-scitt-scrapi-09.

GetScittKeyAsync(String, RequestContext)

[Protocol Method] Get a single service key by kid, per Section 2.2 of draft-ietf-scitt-scrapi-09

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetScittKeyAsync(String, CancellationToken)

Source:
CodeTransparencyClient.cs

Get a single service key by kid, per Section 2.2 of draft-ietf-scitt-scrapi-09.

public virtual System.Threading.Tasks.Task<Azure.Response<BinaryData>> GetScittKeyAsync(string kid, System.Threading.CancellationToken cancellationToken = default);
abstract member GetScittKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
override this.GetScittKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
Public Overridable Function GetScittKeyAsync (kid As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BinaryData))

Parameters

kid
String

Key ID (kid) of the SCITT key to retrieve.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

kid is null.

kid is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

GetScittKeyAsync(String, RequestContext)

Source:
CodeTransparencyClient.cs

[Protocol Method] Get a single service key by kid, per Section 2.2 of draft-ietf-scitt-scrapi-09

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> GetScittKeyAsync(string kid, Azure.RequestContext context);
abstract member GetScittKeyAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetScittKeyAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetScittKeyAsync (kid As String, context As RequestContext) As Task(Of Response)

Parameters

kid
String

Key ID (kid) of the SCITT key to retrieve.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

kid is null.

kid is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to