CodeTransparencyClient.GetScittKeysAsync 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 |
|---|---|
| GetScittKeysAsync(RequestContext) |
List all service keys in COSE_Key_Set format. |
| GetScittKeysAsync(CancellationToken) |
List all service keys, normalized to a key set. |
GetScittKeysAsync(RequestContext)
- Source:
- CodeTransparencyClient.cs
- Source:
- CodeTransparencyClient.cs
List all service keys in COSE_Key_Set format.
public virtual System.Threading.Tasks.Task<Azure.Response> GetScittKeysAsync(Azure.RequestContext context);
abstract member GetScittKeysAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetScittKeysAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetScittKeysAsync (context As RequestContext) As Task(Of Response)
Parameters
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The raw COSE_Key_Set CBOR response returned from the service.
Exceptions
Service returned a non-success status code.
Applies to
GetScittKeysAsync(CancellationToken)
- Source:
- CodeTransparencyClient.cs
- Source:
- CodeTransparencyClient.cs
List all service keys, normalized to a key set.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.CodeTransparency.CodeTransparencyVerificationKeySet>> GetScittKeysAsync(System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task<Azure.Response<BinaryData>> GetScittKeysAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetScittKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.CodeTransparency.CodeTransparencyVerificationKeySet>>
override this.GetScittKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.CodeTransparency.CodeTransparencyVerificationKeySet>>
abstract member GetScittKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
override this.GetScittKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
Public Overridable Function GetScittKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CodeTransparencyVerificationKeySet))
Public Overridable Function GetScittKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BinaryData))
Parameters
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.