KMS Java SDK Demo

The SDK corresponds to RESTful APIs. For details about the APIs supported by the latest SDK version and the mapping between the SDK and APIs, see here.

For details about the parameters supported by SDK, see the description of KMS APIs.

The following table lists the scenario example code provided by the KMS Java SDK:

Scenario

Example Code

manage customer master key

Code

encrypt/decrypt data

Code

create data encrypt key

Code

encrypt/decrypt with data encrypt key

Code