CodeTransparencyClient Class
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.
The CodeTransparency service client.
public class CodeTransparencyClient
type CodeTransparencyClient = class
Public Class CodeTransparencyClient
- Inheritance
-
CodeTransparencyClient
Constructors
CodeTransparencyClient() |
Initializes a new instance of CodeTransparencyClient for mocking. |
CodeTransparencyClient(Uri, AzureKeyCredential, CodeTransparencyClientOptions) |
Initializes a new instance of CodeTransparencyClient. The client will download its own TLS CA cert to perform server cert authentication. If the CA changes then there is a TTL which will help healing the long lived clients. |
CodeTransparencyClient(Uri, AzureKeyCredential) |
Initializes a new instance of CodeTransparencyClient. |
CodeTransparencyClient(Uri, CodeTransparencyClientOptions) |
Initializes a new instance of CodeTransparencyClient. The client will download its own TLS CA cert to perform server cert authentication. If the CA changes then there is a TTL which will help healing the long lived clients. |
Properties
Pipeline |
The HTTP pipeline for sending and receiving REST requests and responses. |
Methods
CreateEntry(WaitUntil, BinaryData, CancellationToken) |
Post an entry to be registered on the CodeTransparency instance, mandatory in IETF SCITT draft. |
CreateEntryAsync(WaitUntil, BinaryData, CancellationToken) |
Post an entry to be registered on the CodeTransparency instance, mandatory in IETF SCITT draft. |
GetEntry(String, CancellationToken) |
Get receipt. |
GetEntry(String, RequestContext) |
[Protocol Method] Get receipt
|
GetEntryAsync(String, CancellationToken) |
Get receipt. |
GetEntryAsync(String, RequestContext) |
[Protocol Method] Get receipt
|
GetEntryStatement(String, CancellationToken) |
Get the transparent statement consisting of the signed statement and the receipt embedded in the header. |
GetEntryStatement(String, RequestContext) |
[Protocol Method] Get the transparent statement consisting of the signed statement and the receipt embedded in the header
|
GetEntryStatementAsync(String, CancellationToken) |
Get the transparent statement consisting of the signed statement and the receipt embedded in the header. |
GetEntryStatementAsync(String, RequestContext) |
[Protocol Method] Get the transparent statement consisting of the signed statement and the receipt embedded in the header
|
GetOperation(String, CancellationToken) |
Get status of the long running registration operation, mandatory in IETF SCITT draft. |
GetOperation(String, RequestContext) |
[Protocol Method] Get status of the long running registration operation, mandatory in IETF SCITT draft
|
GetOperationAsync(String, CancellationToken) |
Get status of the long running registration operation, mandatory in IETF SCITT draft. |
GetOperationAsync(String, RequestContext) |
[Protocol Method] Get status of the long running registration operation, mandatory in IETF SCITT draft
|
GetPublicKeys(CancellationToken) |
Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation. |
GetPublicKeys(RequestContext) |
[Protocol Method] Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation
|
GetPublicKeysAsync(CancellationToken) |
Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation. |
GetPublicKeysAsync(RequestContext) |
[Protocol Method] Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation
|
GetTransparencyConfigCbor(CancellationToken) |
Get the transparency service configuration, mandatory in IETF SCITT draft. |
GetTransparencyConfigCbor(RequestContext) |
[Protocol Method] Get the transparency service configuration, mandatory in IETF SCITT draft
|
GetTransparencyConfigCborAsync(CancellationToken) |
Get the transparency service configuration, mandatory in IETF SCITT draft. |
GetTransparencyConfigCborAsync(RequestContext) |
[Protocol Method] Get the transparency service configuration, mandatory in IETF SCITT draft
|
RunTransparentStatementVerification(Byte[]) |
Verify the receipt integrity against the COSE_Sign1 envelope and check if receipt was endorsed by the given service certificate. In the case of multiple receipts being embedded in the signature then verify all of them. Calls |
Applies to
Azure SDK for .NET