CosmosEncryptionAlgorithm Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.encryption.models.CosmosEncryptionAlgorithm

public enum CosmosEncryptionAlgorithm
extends Enum<CosmosEncryptionAlgorithm>

Algorithms for use with client-side encryption support in Azure Cosmos DB.

Fields

AEAD_AES_256_CBC_HMAC_SHA256

Authenticated Encryption algorithm based on https://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha2-05

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

get(String name)

public static CosmosEncryptionAlgorithm get(String name)

Gets the CosmosEncryptionAlgorithm enum back from the string value

Parameters

name
String
the string value

Returns

CosmosEncryptionAlgorithm enum

getName()

public String getName()

Returns the name of algorithm

Returns

algorithm name

toString()

public String toString()

Returns the name of algorithm

Returns

algorithm name
Overrides
java.lang.Enum.toString()

valueOf(String name)

public static CosmosEncryptionAlgorithm valueOf(String name)

Parameters

name
String

Returns

values()

public static CosmosEncryptionAlgorithm[] values()

Returns

Applies to