Get Public Key

This API retrieves the public key from an asymmetric encryption algorithm.

Get Public Key API

Web API

GET https://api.aspose.cloud/v4.0/cells/publickey

Request Parameters:

Parameter Name Type Location Description
Authorization string Header Bearer token for OAuth2 authentication (required).
Accept string Header Desired response format, e.g., application/json (optional, defaults to JSON).

Response

{
  "Code": 200,
  "Status": "OK",
  "CellsCloudPublicKey": {
    "PublicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr...",
    "Algorithm": "RSA",
    "KeySize": 2048
  }
}

How to Use the Get public key API with SDKs

OpenAPI Specification

The OpenAPI Specification defines a publicly accessible programming interface, enabling you to perform REST interactions directly from your web browser.

Use Aspose.Cells Cloud SDKs

Using the SDK is the best way to accelerate development. The SDK handles the underlying details, allowing you to simply implement get public key for cells with minimal code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples illustrate how to interact with Aspose.Cells web services using various SDKs: