Share via


CertificatesOperationsExtensions.Verify Method

Definition

Verify certificate's private key possession.

public static Microsoft.Azure.Management.IotHub.Models.CertificateDescription Verify (this Microsoft.Azure.Management.IotHub.ICertificatesOperations operations, string resourceGroupName, string resourceName, string certificateName, string ifMatch, string certificate = default);
static member Verify : Microsoft.Azure.Management.IotHub.ICertificatesOperations * string * string * string * string * string -> Microsoft.Azure.Management.IotHub.Models.CertificateDescription
<Extension()>
Public Function Verify (operations As ICertificatesOperations, resourceGroupName As String, resourceName As String, certificateName As String, ifMatch As String, Optional certificate As String = Nothing) As 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.

Returns

Remarks

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

Applies to