public static enum KeyOperationAttestation.AttestationFormat extends Enum<KeyOperationAttestation.AttestationFormat> implements com.google.protobuf.ProtocolMessageEnum
Attestation formats provided by the HSM.Protobuf enum
google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat| Enum Constant and Description |
|---|
ATTESTATION_FORMAT_UNSPECIFIED
Not specified.
|
CAVIUM_V1_COMPRESSED
Cavium HSM attestation compressed with gzip.
|
CAVIUM_V2_COMPRESSED
Cavium HSM attestation V2 compressed with gzip.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTESTATION_FORMAT_UNSPECIFIED_VALUE
Not specified.
|
static int |
CAVIUM_V1_COMPRESSED_VALUE
Cavium HSM attestation compressed with gzip.
|
static int |
CAVIUM_V2_COMPRESSED_VALUE
Cavium HSM attestation V2 compressed with gzip.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyOperationAttestation.AttestationFormat |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<KeyOperationAttestation.AttestationFormat> |
internalGetValueMap() |
static KeyOperationAttestation.AttestationFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static KeyOperationAttestation.AttestationFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KeyOperationAttestation.AttestationFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyOperationAttestation.AttestationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyOperationAttestation.AttestationFormat ATTESTATION_FORMAT_UNSPECIFIED
Not specified.
ATTESTATION_FORMAT_UNSPECIFIED = 0;public static final KeyOperationAttestation.AttestationFormat CAVIUM_V1_COMPRESSED
Cavium HSM attestation compressed with gzip. Note that this format is defined by Cavium and subject to change at any time.
CAVIUM_V1_COMPRESSED = 3;public static final KeyOperationAttestation.AttestationFormat CAVIUM_V2_COMPRESSED
Cavium HSM attestation V2 compressed with gzip. This is a new format introduced in Cavium's version 3.2-08.
CAVIUM_V2_COMPRESSED = 4;public static final KeyOperationAttestation.AttestationFormat UNRECOGNIZED
public static final int ATTESTATION_FORMAT_UNSPECIFIED_VALUE
Not specified.
ATTESTATION_FORMAT_UNSPECIFIED = 0;public static final int CAVIUM_V1_COMPRESSED_VALUE
Cavium HSM attestation compressed with gzip. Note that this format is defined by Cavium and subject to change at any time.
CAVIUM_V1_COMPRESSED = 3;public static final int CAVIUM_V2_COMPRESSED_VALUE
Cavium HSM attestation V2 compressed with gzip. This is a new format introduced in Cavium's version 3.2-08.
CAVIUM_V2_COMPRESSED = 4;public static KeyOperationAttestation.AttestationFormat[] values()
for (KeyOperationAttestation.AttestationFormat c : KeyOperationAttestation.AttestationFormat.values()) System.out.println(c);
public static KeyOperationAttestation.AttestationFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static KeyOperationAttestation.AttestationFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static KeyOperationAttestation.AttestationFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<KeyOperationAttestation.AttestationFormat> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static KeyOperationAttestation.AttestationFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.