Compartir a través de


DeviceProvisioningServicesCertificateResource.VerifyCertificate Método

Definición

Sobrecargas

VerifyCertificate(DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions, CancellationToken)

Comprueba la posesión de la clave privada del certificado proporcionando el certificado hoja emitido por el certificado previamente cargado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operación
VerifyCertificate(String, CertificateVerificationCodeContent, String, Byte[], Nullable<Boolean>, Nullable<DeviceProvisioningServicesCertificatePurpose>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, CancellationToken)

Comprueba la posesión de la clave privada del certificado proporcionando el certificado hoja emitido por el certificado previamente cargado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operación

VerifyCertificate(DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions, CancellationToken)

Comprueba la posesión de la clave privada del certificado proporcionando el certificado hoja emitido por el certificado previamente cargado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operación
public virtual Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource> VerifyCertificate (Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member VerifyCertificate : Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
override this.VerifyCertificate : Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
Public Overridable Function VerifyCertificate (options As DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeviceProvisioningServicesCertificateResource)

Parámetros

options
DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions

Contenedor de propiedades que contiene todos los parámetros de este método, excepto el calificador LRO y el parámetro de contexto de solicitud.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

options es null.

Se aplica a

VerifyCertificate(String, CertificateVerificationCodeContent, String, Byte[], Nullable<Boolean>, Nullable<DeviceProvisioningServicesCertificatePurpose>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, CancellationToken)

Comprueba la posesión de la clave privada del certificado proporcionando el certificado hoja emitido por el certificado previamente cargado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operación
public virtual Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource> VerifyCertificate (string ifMatch, Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeContent content, string certificateCommonName = default, byte[] certificateRawBytes = default, bool? certificateIsVerified = default, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificatePurpose? certificatePurpose = default, DateTimeOffset? certificateCreatedOn = default, DateTimeOffset? certificateLastUpdatedOn = default, bool? certificateHasPrivateKey = default, string certificateNonce = default, System.Threading.CancellationToken cancellationToken = default);
abstract member VerifyCertificate : string * Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeContent * string * byte[] * Nullable<bool> * Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificatePurpose> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
override this.VerifyCertificate : string * Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeContent * string * byte[] * Nullable<bool> * Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificatePurpose> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
Public Overridable Function VerifyCertificate (ifMatch As String, content As CertificateVerificationCodeContent, Optional certificateCommonName As String = Nothing, Optional certificateRawBytes As Byte() = Nothing, Optional certificateIsVerified As Nullable(Of Boolean) = Nothing, Optional certificatePurpose As Nullable(Of DeviceProvisioningServicesCertificatePurpose) = Nothing, Optional certificateCreatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional certificateLastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional certificateHasPrivateKey As Nullable(Of Boolean) = Nothing, Optional certificateNonce As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeviceProvisioningServicesCertificateResource)

Parámetros

ifMatch
String

ETag del certificado.

content
CertificateVerificationCodeContent

Nombre del certificado.

certificateCommonName
String

Nombre común del certificado.

certificateRawBytes
Byte[]

Datos sin procesar del certificado.

certificateIsVerified
Nullable<Boolean>

Indica si el propietario de la clave privada ha comprobado el certificado.

certificatePurpose
Nullable<DeviceProvisioningServicesCertificatePurpose>

Describir el propósito del certificado.

certificateCreatedOn
Nullable<DateTimeOffset>

Hora de creación del certificado.

certificateLastUpdatedOn
Nullable<DateTimeOffset>

Hora de la última actualización del certificado.

certificateHasPrivateKey
Nullable<Boolean>

Indica si el certificado contiene una clave privada.

certificateNonce
String

Número aleatorio generado para indicar la prueba de posesión.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

ifMatch o content es null.

Se aplica a