public final class KeyOperationAttestation extends GeneratedMessageV3 implements KeyOperationAttestationOrBuilder
Contains an HSM-generated attestation about a key operation. For more
information, see Verifying attestations.
Protobuf type google.cloud.kms.v1.KeyOperationAttestation
Static Fields
CERT_CHAINS_FIELD_NUMBER
public static final int CERT_CHAINS_FIELD_NUMBER
Field Value
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
Field Value
public static final int FORMAT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static KeyOperationAttestation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static KeyOperationAttestation.Builder newBuilder()
Returns
newBuilder(KeyOperationAttestation prototype)
public static KeyOperationAttestation.Builder newBuilder(KeyOperationAttestation prototype)
Parameter
Returns
public static KeyOperationAttestation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyOperationAttestation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static KeyOperationAttestation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KeyOperationAttestation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static KeyOperationAttestation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KeyOperationAttestation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyOperationAttestation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static KeyOperationAttestation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyOperationAttestation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyOperationAttestation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static KeyOperationAttestation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KeyOperationAttestation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<KeyOperationAttestation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCertChains()
public KeyOperationAttestation.CertificateChains getCertChains()
Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getCertChainsOrBuilder()
public KeyOperationAttestation.CertificateChainsOrBuilder getCertChainsOrBuilder()
Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getContent()
public ByteString getContent()
Output only. The attestation data provided by the HSM when the key
operation was performed.
bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstanceForType()
public KeyOperationAttestation getDefaultInstanceForType()
Returns
public KeyOperationAttestation.AttestationFormat getFormat()
Output only. The format of the attestation data.
.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public int getFormatValue()
Output only. The format of the attestation data.
.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The enum numeric value on the wire for format.
|
getParserForType()
public Parser<KeyOperationAttestation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCertChains()
public boolean hasCertChains()
Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the certChains field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public KeyOperationAttestation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KeyOperationAttestation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public KeyOperationAttestation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions