Language

CodeTransparencyClient Constructors

Definition

Overloads

Name Description
CodeTransparencyClient()

Initializes a new instance of CodeTransparencyClient for mocking.

CodeTransparencyClient(CodeTransparencyClientSettings)

Initializes a new instance of CodeTransparencyClient from a CodeTransparencyClientSettings.

CodeTransparencyClient(Uri)

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.

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()

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

Initializes a new instance of CodeTransparencyClient for mocking.

protected CodeTransparencyClient();
Protected Sub New ()

Applies to

CodeTransparencyClient(CodeTransparencyClientSettings)

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

Initializes a new instance of CodeTransparencyClient from a CodeTransparencyClientSettings.

public CodeTransparencyClient(Azure.Security.CodeTransparency.CodeTransparencyClientSettings settings);
new Azure.Security.CodeTransparency.CodeTransparencyClient : Azure.Security.CodeTransparency.CodeTransparencyClientSettings -> Azure.Security.CodeTransparency.CodeTransparencyClient
Public Sub New (settings As CodeTransparencyClientSettings)

Parameters

settings
CodeTransparencyClientSettings

The settings for CodeTransparencyClient.

Applies to

CodeTransparencyClient(Uri)

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

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.

public CodeTransparencyClient(Uri endpoint);
new Azure.Security.CodeTransparency.CodeTransparencyClient : Uri -> Azure.Security.CodeTransparency.CodeTransparencyClient
Public Sub New (endpoint As Uri)

Parameters

endpoint
Uri

The Uri to use.

Exceptions

endpoint is null.

Applies to

CodeTransparencyClient(Uri, AzureKeyCredential)

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

Initializes a new instance of CodeTransparencyClient.

public CodeTransparencyClient(Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.Security.CodeTransparency.CodeTransparencyClient : Uri * Azure.AzureKeyCredential -> Azure.Security.CodeTransparency.CodeTransparencyClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)

Parameters

endpoint
Uri

Service endpoint.

credential
AzureKeyCredential

A credential used to authenticate to the service.

Exceptions

endpoint or credential is null.

Applies to

CodeTransparencyClient(Uri, CodeTransparencyClientOptions)

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

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.

public CodeTransparencyClient(Uri endpoint, Azure.Security.CodeTransparency.CodeTransparencyClientOptions options);
new Azure.Security.CodeTransparency.CodeTransparencyClient : Uri * Azure.Security.CodeTransparency.CodeTransparencyClientOptions -> Azure.Security.CodeTransparency.CodeTransparencyClient
Public Sub New (endpoint As Uri, options As CodeTransparencyClientOptions)

Parameters

endpoint
Uri

The Uri to use.

options
CodeTransparencyClientOptions

The options for configuring the client.

Exceptions

endpoint is null.

Applies to

CodeTransparencyClient(Uri, AzureKeyCredential, CodeTransparencyClientOptions)

Source:
CodeTransparencyClient.cs
Source:
CodeTransparencyClient.cs

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.

public CodeTransparencyClient(Uri endpoint, Azure.AzureKeyCredential credential, Azure.Security.CodeTransparency.CodeTransparencyClientOptions options);
new Azure.Security.CodeTransparency.CodeTransparencyClient : Uri * Azure.AzureKeyCredential * Azure.Security.CodeTransparency.CodeTransparencyClientOptions -> Azure.Security.CodeTransparency.CodeTransparencyClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As CodeTransparencyClientOptions)

Parameters

endpoint
Uri

The Uri to use.

credential
AzureKeyCredential

A JWT based credential used to authenticate to the Service.

options
CodeTransparencyClientOptions

The options for configuring the client.

Exceptions

endpoint is null.

Applies to