CodeTransparencyClient.GetScittKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetScittKey(String, RequestContext) |
[Protocol Method] Get a single service key by kid, per Section 2.2 of draft-ietf-scitt-scrapi-09
|
| GetScittKey(String, CancellationToken) |
Get a single service key by kid, per Section 2.2 of draft-ietf-scitt-scrapi-09. |
GetScittKey(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 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 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
GetScittKey(String, CancellationToken)
- Source:
- CodeTransparencyClient.cs
Get a single service key by kid, per Section 2.2 of draft-ietf-scitt-scrapi-09.
public virtual Azure.Response<BinaryData> GetScittKey(string kid, System.Threading.CancellationToken cancellationToken = default);
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 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.