KMS instance SDK (C#)

Updated at:

The KMS instance SDK (C#) helps you access KMS instance APIs through simple programming to encrypt, decrypt, sign, verify signatures, and retrieve secret values.

SDK source code

For the SDK source code, see alibabacloud-dkms-gcs-csharp-sdk.

API documentation

After you integrate the KMS instance SDK, you can call KMS instance APIs through the KMS instance endpoint to generate data keys, encrypt, decrypt, calculate signatures, verify digital signatures, and retrieve secret values. For the API documentation, see Instance API overview.

Sample code

The KMS instance SDK (C#) provides a rich set of sample code. The following table lists only the most commonly used samples. For more samples, see the SDK source code.

Sample file name

Description

AesEncryptDecryptSample.cs

Encrypt and decrypt data (ciphertext data uses the original format).

AsymmetricSignVerifySample.cs

Digitally sign and verify data.

GetSecretValueSample.cs

Retrieve secret values.