Documentation ¶
Index ¶
- Variables
- func RegisterAttestationContainerServer(s grpc.ServiceRegistrar, srv AttestationContainerServer)
- type AttestationContainerClient
- type AttestationContainerServer
- type FetchAttestationReply
- func (*FetchAttestationReply) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAttestationReply) GetAttestation() []byte
- func (x *FetchAttestationReply) GetPlatformCertificates() []byte
- func (x *FetchAttestationReply) GetUvmEndorsements() []byte
- func (*FetchAttestationReply) ProtoMessage()
- func (x *FetchAttestationReply) ProtoReflect() protoreflect.Message
- func (x *FetchAttestationReply) Reset()
- func (x *FetchAttestationReply) String() string
- type FetchAttestationRequest
- func (*FetchAttestationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAttestationRequest) GetReportData() []byte
- func (*FetchAttestationRequest) ProtoMessage()
- func (x *FetchAttestationRequest) ProtoReflect() protoreflect.Message
- func (x *FetchAttestationRequest) Reset()
- func (x *FetchAttestationRequest) String() string
- type UnimplementedAttestationContainerServer
- type UnsafeAttestationContainerServer
Constants ¶
This section is empty.
Variables ¶
var AttestationContainer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "attestation_container.AttestationContainer", HandlerType: (*AttestationContainerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FetchAttestation", Handler: _AttestationContainer_FetchAttestation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/attestation-container.proto", }
AttestationContainer_ServiceDesc is the grpc.ServiceDesc for AttestationContainer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_protobuf_attestation_container_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAttestationContainerServer ¶
func RegisterAttestationContainerServer(s grpc.ServiceRegistrar, srv AttestationContainerServer)
Types ¶
type AttestationContainerClient ¶
type AttestationContainerClient interface { // Fetches and returns attestation report, platform certificates, and UVM endorsements (UVM reference info). // In future it returns Certificate Revocation List (CRL) as well. FetchAttestation(ctx context.Context, in *FetchAttestationRequest, opts ...grpc.CallOption) (*FetchAttestationReply, error) }
AttestationContainerClient is the client API for AttestationContainer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAttestationContainerClient ¶
func NewAttestationContainerClient(cc grpc.ClientConnInterface) AttestationContainerClient
type AttestationContainerServer ¶
type AttestationContainerServer interface { // Fetches and returns attestation report, platform certificates, and UVM endorsements (UVM reference info). // In future it returns Certificate Revocation List (CRL) as well. FetchAttestation(context.Context, *FetchAttestationRequest) (*FetchAttestationReply, error) // contains filtered or unexported methods }
AttestationContainerServer is the server API for AttestationContainer service. All implementations must embed UnimplementedAttestationContainerServer for forward compatibility
type FetchAttestationReply ¶
type FetchAttestationReply struct { // ATTESTATION_REPORT Structure defined in Table 21 of SEV-SNP firmware ABI specification Attestation []byte `protobuf:"bytes,1,opt,name=attestation,proto3" json:"attestation,omitempty"` // Concatenation of VCEK, ASK, and ARK certificates (PEM format, in that order). // https://www.amd.com/en/support/tech-docs/versioned-chip-endorsement-key-vcek-certificate-and-kds-interface-specification PlatformCertificates []byte `protobuf:"bytes,2,opt,name=platform_certificates,json=platformCertificates,proto3" json:"platform_certificates,omitempty"` UvmEndorsements []byte `protobuf:"bytes,3,opt,name=uvm_endorsements,json=uvmEndorsements,proto3" json:"uvm_endorsements,omitempty"` // contains filtered or unexported fields }
func (*FetchAttestationReply) Descriptor
deprecated
func (*FetchAttestationReply) Descriptor() ([]byte, []int)
Deprecated: Use FetchAttestationReply.ProtoReflect.Descriptor instead.
func (*FetchAttestationReply) GetAttestation ¶
func (x *FetchAttestationReply) GetAttestation() []byte
func (*FetchAttestationReply) GetPlatformCertificates ¶
func (x *FetchAttestationReply) GetPlatformCertificates() []byte
func (*FetchAttestationReply) GetUvmEndorsements ¶
func (x *FetchAttestationReply) GetUvmEndorsements() []byte
func (*FetchAttestationReply) ProtoMessage ¶
func (*FetchAttestationReply) ProtoMessage()
func (*FetchAttestationReply) ProtoReflect ¶
func (x *FetchAttestationReply) ProtoReflect() protoreflect.Message
func (*FetchAttestationReply) Reset ¶
func (x *FetchAttestationReply) Reset()
func (*FetchAttestationReply) String ¶
func (x *FetchAttestationReply) String() string
type FetchAttestationRequest ¶
type FetchAttestationRequest struct { // Defined in Table 21 of SEV-SNP firmware ABI specification // https://www.amd.com/en/support/tech-docs/sev-secure-nested-paging-firmware-abi-specification ReportData []byte `protobuf:"bytes,1,opt,name=report_data,json=reportData,proto3" json:"report_data,omitempty"` // contains filtered or unexported fields }
func (*FetchAttestationRequest) Descriptor
deprecated
func (*FetchAttestationRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchAttestationRequest.ProtoReflect.Descriptor instead.
func (*FetchAttestationRequest) GetReportData ¶
func (x *FetchAttestationRequest) GetReportData() []byte
func (*FetchAttestationRequest) ProtoMessage ¶
func (*FetchAttestationRequest) ProtoMessage()
func (*FetchAttestationRequest) ProtoReflect ¶
func (x *FetchAttestationRequest) ProtoReflect() protoreflect.Message
func (*FetchAttestationRequest) Reset ¶
func (x *FetchAttestationRequest) Reset()
func (*FetchAttestationRequest) String ¶
func (x *FetchAttestationRequest) String() string
type UnimplementedAttestationContainerServer ¶
type UnimplementedAttestationContainerServer struct { }
UnimplementedAttestationContainerServer must be embedded to have forward compatible implementations.
func (UnimplementedAttestationContainerServer) FetchAttestation ¶
func (UnimplementedAttestationContainerServer) FetchAttestation(context.Context, *FetchAttestationRequest) (*FetchAttestationReply, error)
type UnsafeAttestationContainerServer ¶
type UnsafeAttestationContainerServer interface {
// contains filtered or unexported methods
}
UnsafeAttestationContainerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AttestationContainerServer will result in compilation errors.