code: public PagedList<CertificateItem> getCertificates(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) {
          ServiceResponse<Page<CertificateItem>> response = getCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending).toBlocking().single();
          return new PagedList<CertificateItem>(response.body()) {
              @Override
              public Page<CertificateItem> nextPage(String nextPageLink) {
                  return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: List certificates in a specified key vault.
  The GetCertificates operation returns the set of certificates resources 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 maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
  @param includePending Specifies whether to include certificates which are not completely provisioned.
  @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.