code: public PagedList<CertificateItem> getCertificateVersions(final String vaultBaseUrl, final String certificateName, final Integer maxresults) {
          ServiceResponse<Page<CertificateItem>> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults).toBlocking().single();
          return new PagedList<CertificateItem>(response.body()) {
              @Override
              public Page<CertificateItem> nextPage(String nextPageLink) {
                  return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: List the versions of a certificate.
  The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
  
  @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
  @param certificateName The name of the certificate.
  @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws KeyVaultErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;CertificateItem&gt; object if successful.