共用方式為


CertificatesOperationsExtensions.VerifyAsync Method

Definition

Verify certificate's private key possession.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.CertificateDescription> VerifyAsync (this Microsoft.Azure.Management.IotHub.ICertificatesOperations operations, string resourceGroupName, string resourceName, string certificateName, string ifMatch, string certificate = default, System.Threading.CancellationToken cancellationToken = default);
static member VerifyAsync : Microsoft.Azure.Management.IotHub.ICertificatesOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.CertificateDescription>
<Extension()>
Public Function VerifyAsync (operations As ICertificatesOperations, resourceGroupName As String, resourceName As String, certificateName As String, ifMatch As String, Optional certificate As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateDescription)

Parameters

operations
ICertificatesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the IoT hub.

resourceName
String

The name of the IoT hub.

certificateName
String

The name of the certificate

ifMatch
String

ETag of the Certificate.

certificate
String

base-64 representation of X509 certificate .cer file or just .pem file content.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.

Applies to