Enum ProtectionLevel (2.39.0)

public enum ProtectionLevel extends Enum<ProtectionLevel> implements ProtocolMessageEnum

ProtectionLevel specifies how cryptographic operations are performed. For more information, see Protection levels.

Protobuf enum google.cloud.kms.v1.ProtectionLevel

Implements

ProtocolMessageEnum

Static Fields

NameDescription
EXTERNAL

Crypto operations are performed by an external key manager.

EXTERNAL = 3;

EXTERNAL_VALUE

Crypto operations are performed by an external key manager.

EXTERNAL = 3;

EXTERNAL_VPC

Crypto operations are performed in an EKM-over-VPC backend.

EXTERNAL_VPC = 4;

EXTERNAL_VPC_VALUE

Crypto operations are performed in an EKM-over-VPC backend.

EXTERNAL_VPC = 4;

HSM

Crypto operations are performed in a Hardware Security Module.

HSM = 2;

HSM_VALUE

Crypto operations are performed in a Hardware Security Module.

HSM = 2;

PROTECTION_LEVEL_UNSPECIFIED

Not specified.

PROTECTION_LEVEL_UNSPECIFIED = 0;

PROTECTION_LEVEL_UNSPECIFIED_VALUE

Not specified.

PROTECTION_LEVEL_UNSPECIFIED = 0;

SOFTWARE

Crypto operations are performed in software.

SOFTWARE = 1;

SOFTWARE_VALUE

Crypto operations are performed in software.

SOFTWARE = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()