Class ConfidentialComputingGrpc.ConfidentialComputingFutureStub (0.8.0)

public static final class ConfidentialComputingGrpc.ConfidentialComputingFutureStub extends AbstractFutureStub<ConfidentialComputingGrpc.ConfidentialComputingFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ConfidentialComputing.

Service describing handlers for resources

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ConfidentialComputingGrpc.ConfidentialComputingFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ConfidentialComputingGrpc.ConfidentialComputingFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ConfidentialComputingGrpc.ConfidentialComputingFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createChallenge(CreateChallengeRequest request)

public ListenableFuture<Challenge> createChallenge(CreateChallengeRequest request)

Creates a new Challenge in a given project and location.

Parameter
NameDescription
requestCreateChallengeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Challenge>

verifyAttestation(VerifyAttestationRequest request)

public ListenableFuture<VerifyAttestationResponse> verifyAttestation(VerifyAttestationRequest request)

Verifies the provided attestation info, returning a signed OIDC token.

Parameter
NameDescription
requestVerifyAttestationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<VerifyAttestationResponse>