Class ValidationHelperV1.ValidationHelperV1Base (2.0.0)

[BindServiceMethod(typeof(ValidationHelperV1), "BindService")]
public abstract class ValidationHelperV1Base

Base class for server-side implementations of ValidationHelperV1

Inheritance

Object > ValidationHelperV1.ValidationHelperV1Base

Namespace

Google.Cloud.BinaryAuthorization.V1

Assembly

Google.Cloud.BinaryAuthorization.V1.dll

Methods

ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest, ServerCallContext)

public virtual Task<ValidateAttestationOccurrenceResponse> ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest request, ServerCallContext context)

Returns whether the given Attestation for the given image URI was signed by the given Attestor

Parameters
NameDescription
requestValidateAttestationOccurrenceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ValidateAttestationOccurrenceResponse>

The response to send back to the client (wrapped by a task).