Enum ProtectionLevel (2.3.1)

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

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;

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

Methods

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

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()