ภาษา

CodeTransparencyClient.GetScittKey Method

Definition

Overloads

Name Description
GetScittKey(String, CancellationToken)

Get a single service key by kid, normalized to a verification key.

GetScittKey(String, RequestContext)

Get a single service key by kid.

GetScittKey(String, CancellationToken)

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

Get a single service key by kid, normalized to a verification key.

public virtual Azure.Response<Azure.Security.CodeTransparency.CodeTransparencyVerificationKey> GetScittKey(string kid, System.Threading.CancellationToken cancellationToken = default);
public virtual Azure.Response<BinaryData> GetScittKey(string kid, System.Threading.CancellationToken cancellationToken = default);
abstract member GetScittKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.CodeTransparency.CodeTransparencyVerificationKey>
override this.GetScittKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.CodeTransparency.CodeTransparencyVerificationKey>
abstract member GetScittKey : string * System.Threading.CancellationToken -> Azure.Response<BinaryData>
override this.GetScittKey : string * System.Threading.CancellationToken -> Azure.Response<BinaryData>
Public Overridable Function GetScittKey (kid As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CodeTransparencyVerificationKey)
Public Overridable Function GetScittKey (kid As String, Optional cancellationToken As CancellationToken = Nothing) As 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

GetScittKey(String, RequestContext)

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

Get a single service key by kid.

public virtual Azure.Response GetScittKey(string kid, Azure.RequestContext context);
abstract member GetScittKey : string * Azure.RequestContext -> Azure.Response
override this.GetScittKey : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetScittKey (kid As String, context As RequestContext) As 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 raw COSE_Key CBOR 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