CertificatesClient Interface
public interface CertificatesClient
An instance of this class provides access to all the operations defined in CertificatesClient.
Method Summary
Method Details
createOrUpdate
public abstract CertificateDescriptionInner createOrUpdate(String resourceGroupName, String resourceName, String certificateName, CertificateDescriptionInner certificateDescription)
Upload the certificate to the IoT hub. Adds new or replaces existing certificate.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<CertificateDescriptionInner> createOrUpdateWithResponse(String resourceGroupName, String resourceName, String certificateName, CertificateDescriptionInner certificateDescription, String ifMatch, Context context)
Upload the certificate to the IoT hub. Adds new or replaces existing certificate.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String resourceName, String certificateName, String ifMatch)
Delete an X509 certificate. Deletes an existing X509 certificate or does nothing if it does not exist.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String certificateName, String ifMatch, Context context)
Delete an X509 certificate. Deletes an existing X509 certificate or does nothing if it does not exist.
Parameters:
Returns:
generateVerificationCode
public abstract CertificateWithNonceDescriptionInner generateVerificationCode(String resourceGroupName, String resourceName, String certificateName, String ifMatch)
Generate verification code for proof of possession flow. Generates verification code for proof of possession flow. The verification code will be used to generate a leaf certificate.
Parameters:
Returns:
generateVerificationCodeWithResponse
public abstract Response<CertificateWithNonceDescriptionInner> generateVerificationCodeWithResponse(String resourceGroupName, String resourceName, String certificateName, String ifMatch, Context context)
Generate verification code for proof of possession flow. Generates verification code for proof of possession flow. The verification code will be used to generate a leaf certificate.
Parameters:
Returns:
get
public abstract CertificateDescriptionInner get(String resourceGroupName, String resourceName, String certificateName)
Get the certificate. Returns the certificate.
Parameters:
Returns:
getWithResponse
public abstract Response<CertificateDescriptionInner> getWithResponse(String resourceGroupName, String resourceName, String certificateName, Context context)
Get the certificate. Returns the certificate.
Parameters:
Returns:
listByIotHub
public abstract CertificateListDescriptionInner listByIotHub(String resourceGroupName, String resourceName)
Get the certificate list. Returns the list of certificates.
Parameters:
Returns:
listByIotHubWithResponse
public abstract Response<CertificateListDescriptionInner> listByIotHubWithResponse(String resourceGroupName, String resourceName, Context context)
Get the certificate list. Returns the list of certificates.
Parameters:
Returns:
verify
public abstract CertificateDescriptionInner verify(String resourceGroupName, String resourceName, String certificateName, String ifMatch, CertificateVerificationDescription certificateVerificationBody)
Verify certificate's private key possession. Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.
Parameters:
Returns:
verifyWithResponse
public abstract Response<CertificateDescriptionInner> verifyWithResponse(String resourceGroupName, String resourceName, String certificateName, String ifMatch, CertificateVerificationDescription certificateVerificationBody, Context context)
Verify certificate's private key possession. Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.
Parameters:
Returns: