Interface AppServiceCertificateOrder

    • Method Detail

      • distinguishedName

        String distinguishedName()
        Returns:
        certificate's distinguished name
      • domainVerificationToken

        String domainVerificationToken()
        Returns:
        the domain verification token
      • validityInYears

        int validityInYears()
        Returns:
        duration in years (must be between 1 and 3)
      • keySize

        int keySize()
        Returns:
        the certificate key size
      • autoRenew

        boolean autoRenew()
        Returns:
        if the certificate should be automatically renewed upon expiration
      • signedCertificate

        CertificateDetails signedCertificate()
        Returns:
        the signed certificate
      • certificateSigningRequest

        String certificateSigningRequest()
        Returns:
        last certificate signing request that was created for this order
      • serialNumber

        String serialNumber()
        Returns:
        current serial number of the certificate
      • lastCertificateIssuanceTime

        OffsetDateTime lastCertificateIssuanceTime()
        Returns:
        last issuance time
      • expirationTime

        OffsetDateTime expirationTime()
        Returns:
        expiration time
      • createKeyVaultBinding

        AppServiceCertificateKeyVaultBinding createKeyVaultBinding​(String certificateName,
                                                                   Vault vault)
        Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.
        Parameters:
        certificateName - the name of the Key Vault Secret
        vault - the key vault to store the certificate
        Returns:
        a binding containing the key vault information
      • createKeyVaultBindingAsync

        Mono<AppServiceCertificateKeyVaultBinding> createKeyVaultBindingAsync​(String certificateName,
                                                                              Vault vault)
        Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.
        Parameters:
        certificateName - the name of the Key Vault Secret
        vault - the key vault to store the certificate
        Returns:
        a binding containing the key vault information
      • verifyDomainOwnership

        void verifyDomainOwnership​(AppServiceDomain domain)
        Verifies the ownership of the domain by providing the Azure purchased domain.
        Parameters:
        domain - the Azure managed domain
      • verifyDomainOwnershipAsync

        Mono<Void> verifyDomainOwnershipAsync​(AppServiceDomain domain)
        Verifies the ownership of the domain by providing the Azure purchased domain.
        Parameters:
        domain - the Azure managed domain
        Returns:
        an Observable to the result