Documentation ¶
Index ¶
- Variables
- func RegisterVTSServer(s grpc.ServiceRegistrar, srv VTSServer)
- type AR_Status
- type AddSwComponentsRequest
- func (*AddSwComponentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSwComponentsRequest) GetSwComponents() []*Endorsement
- func (msg *AddSwComponentsRequest) MarshalJSON() ([]byte, error)
- func (*AddSwComponentsRequest) ProtoMessage()
- func (x *AddSwComponentsRequest) ProtoReflect() protoreflect.Message
- func (x *AddSwComponentsRequest) Reset()
- func (x *AddSwComponentsRequest) String() string
- func (msg *AddSwComponentsRequest) UnmarshalJSON(b []byte) error
- type AddSwComponentsResponse
- func (*AddSwComponentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddSwComponentsResponse) GetStatus() *Status
- func (msg *AddSwComponentsResponse) MarshalJSON() ([]byte, error)
- func (*AddSwComponentsResponse) ProtoMessage()
- func (x *AddSwComponentsResponse) ProtoReflect() protoreflect.Message
- func (x *AddSwComponentsResponse) Reset()
- func (x *AddSwComponentsResponse) String() string
- func (msg *AddSwComponentsResponse) UnmarshalJSON(b []byte) error
- type AddTrustAnchorRequest
- func (*AddTrustAnchorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTrustAnchorRequest) GetTrustAnchor() *Endorsement
- func (msg *AddTrustAnchorRequest) MarshalJSON() ([]byte, error)
- func (*AddTrustAnchorRequest) ProtoMessage()
- func (x *AddTrustAnchorRequest) ProtoReflect() protoreflect.Message
- func (x *AddTrustAnchorRequest) Reset()
- func (x *AddTrustAnchorRequest) String() string
- func (msg *AddTrustAnchorRequest) UnmarshalJSON(b []byte) error
- type AddTrustAnchorResponse
- func (*AddTrustAnchorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddTrustAnchorResponse) GetStatus() *Status
- func (msg *AddTrustAnchorResponse) MarshalJSON() ([]byte, error)
- func (*AddTrustAnchorResponse) ProtoMessage()
- func (x *AddTrustAnchorResponse) ProtoReflect() protoreflect.Message
- func (x *AddTrustAnchorResponse) Reset()
- func (x *AddTrustAnchorResponse) String() string
- func (msg *AddTrustAnchorResponse) UnmarshalJSON(b []byte) error
- type AppraisalContext
- func (*AppraisalContext) Descriptor() ([]byte, []int)deprecated
- func (x *AppraisalContext) GetEvidence() *EvidenceContext
- func (x *AppraisalContext) GetResult() *AttestationResult
- func (msg *AppraisalContext) MarshalJSON() ([]byte, error)
- func (*AppraisalContext) ProtoMessage()
- func (x *AppraisalContext) ProtoReflect() protoreflect.Message
- func (x *AppraisalContext) Reset()
- func (x *AppraisalContext) String() string
- func (msg *AppraisalContext) UnmarshalJSON(b []byte) error
- type AttestationFormat
- func (AttestationFormat) Descriptor() protoreflect.EnumDescriptor
- func (x AttestationFormat) Enum() *AttestationFormat
- func (AttestationFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttestationFormat) Number() protoreflect.EnumNumber
- func (x AttestationFormat) String() string
- func (AttestationFormat) Type() protoreflect.EnumType
- type AttestationResult
- func (*AttestationResult) Descriptor() ([]byte, []int)deprecated
- func (x *AttestationResult) GetAppraisalPolicyID() string
- func (x *AttestationResult) GetEndorsedClaims() *EndorsedClaims
- func (x *AttestationResult) GetProcessedEvidence() *_struct.Struct
- func (x *AttestationResult) GetRawEvidence() []byte
- func (x *AttestationResult) GetStatus() AR_Status
- func (x *AttestationResult) GetTimestamp() *timestamp.Timestamp
- func (x *AttestationResult) GetTrustVector() *TrustVector
- func (msg *AttestationResult) MarshalJSON() ([]byte, error)
- func (*AttestationResult) ProtoMessage()
- func (x *AttestationResult) ProtoReflect() protoreflect.Message
- func (x *AttestationResult) Reset()
- func (x *AttestationResult) String() string
- func (msg *AttestationResult) UnmarshalJSON(b []byte) error
- type AttestationToken
- func (*AttestationToken) Descriptor() ([]byte, []int)deprecated
- func (x *AttestationToken) GetData() []byte
- func (x *AttestationToken) GetFormat() AttestationFormat
- func (x *AttestationToken) GetMediaType() string
- func (x *AttestationToken) GetTenantId() string
- func (msg *AttestationToken) MarshalJSON() ([]byte, error)
- func (*AttestationToken) ProtoMessage()
- func (x *AttestationToken) ProtoReflect() protoreflect.Message
- func (x *AttestationToken) Reset()
- func (x *AttestationToken) String() string
- func (msg *AttestationToken) UnmarshalJSON(b []byte) error
- type EndorsedClaims
- func (*EndorsedClaims) Descriptor() ([]byte, []int)deprecated
- func (x *EndorsedClaims) GetCertificationDetails() *_struct.Struct
- func (x *EndorsedClaims) GetConfigDetails() *_struct.Struct
- func (x *EndorsedClaims) GetHardwareDetails() *_struct.Struct
- func (x *EndorsedClaims) GetSoftwareDetails() *_struct.Struct
- func (msg *EndorsedClaims) MarshalJSON() ([]byte, error)
- func (*EndorsedClaims) ProtoMessage()
- func (x *EndorsedClaims) ProtoReflect() protoreflect.Message
- func (x *EndorsedClaims) Reset()
- func (x *EndorsedClaims) String() string
- func (msg *EndorsedClaims) UnmarshalJSON(b []byte) error
- type Endorsement
- func (*Endorsement) Descriptor() ([]byte, []int)deprecated
- func (x *Endorsement) GetAttributes() *_struct.Struct
- func (x *Endorsement) GetScheme() AttestationFormat
- func (x *Endorsement) GetType() EndorsementType
- func (msg *Endorsement) MarshalJSON() ([]byte, error)
- func (*Endorsement) ProtoMessage()
- func (x *Endorsement) ProtoReflect() protoreflect.Message
- func (x *Endorsement) Reset()
- func (x *Endorsement) String() string
- func (msg *Endorsement) UnmarshalJSON(b []byte) error
- type EndorsementType
- func (EndorsementType) Descriptor() protoreflect.EnumDescriptor
- func (x EndorsementType) Enum() *EndorsementType
- func (EndorsementType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EndorsementType) Number() protoreflect.EnumNumber
- func (x EndorsementType) String() string
- func (EndorsementType) Type() protoreflect.EnumType
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *Evidence) GetValue() *_struct.Struct
- func (msg *Evidence) MarshalJSON() ([]byte, error)
- func (*Evidence) ProtoMessage()
- func (x *Evidence) ProtoReflect() protoreflect.Message
- func (x *Evidence) Reset()
- func (x *Evidence) String() string
- func (msg *Evidence) UnmarshalJSON(b []byte) error
- type EvidenceContext
- func (*EvidenceContext) Descriptor() ([]byte, []int)deprecated
- func (x *EvidenceContext) GetEvidence() *_struct.Struct
- func (x *EvidenceContext) GetFormat() AttestationFormat
- func (x *EvidenceContext) GetSoftwareId() string
- func (x *EvidenceContext) GetTenantId() string
- func (x *EvidenceContext) GetTrustAnchorId() string
- func (msg *EvidenceContext) MarshalJSON() ([]byte, error)
- func (*EvidenceContext) ProtoMessage()
- func (x *EvidenceContext) ProtoReflect() protoreflect.Message
- func (x *EvidenceContext) Reset()
- func (x *EvidenceContext) String() string
- func (msg *EvidenceContext) UnmarshalJSON(b []byte) error
- type MediaTypeList
- func (*MediaTypeList) Descriptor() ([]byte, []int)deprecated
- func (x *MediaTypeList) GetMediaTypes() []string
- func (msg *MediaTypeList) MarshalJSON() ([]byte, error)
- func (*MediaTypeList) ProtoMessage()
- func (x *MediaTypeList) ProtoReflect() protoreflect.Message
- func (x *MediaTypeList) Reset()
- func (x *MediaTypeList) String() string
- func (msg *MediaTypeList) UnmarshalJSON(b []byte) error
- type ParamDescription
- func (*ParamDescription) Descriptor() ([]byte, []int)deprecated
- func (x *ParamDescription) GetKind() uint32
- func (x *ParamDescription) GetPath() string
- func (x *ParamDescription) GetRequired() ParamNecessity
- func (msg *ParamDescription) MarshalJSON() ([]byte, error)
- func (*ParamDescription) ProtoMessage()
- func (x *ParamDescription) ProtoReflect() protoreflect.Message
- func (x *ParamDescription) Reset()
- func (x *ParamDescription) String() string
- func (msg *ParamDescription) UnmarshalJSON(b []byte) error
- type ParamNecessity
- func (ParamNecessity) Descriptor() protoreflect.EnumDescriptor
- func (x ParamNecessity) Enum() *ParamNecessity
- func (ParamNecessity) EnumDescriptor() ([]byte, []int)deprecated
- func (x ParamNecessity) Number() protoreflect.EnumNumber
- func (x ParamNecessity) String() string
- func (ParamNecessity) Type() protoreflect.EnumType
- type ParamStore
- func (*ParamStore) Descriptor() ([]byte, []int)deprecated
- func (x *ParamStore) GetData() *_struct.Struct
- func (x *ParamStore) GetIsFrozen() bool
- func (x *ParamStore) GetName() string
- func (x *ParamStore) GetParams() map[string]*ParamDescription
- func (x *ParamStore) GetRequired() []string
- func (msg *ParamStore) MarshalJSON() ([]byte, error)
- func (*ParamStore) ProtoMessage()
- func (x *ParamStore) ProtoReflect() protoreflect.Message
- func (x *ParamStore) Reset()
- func (x *ParamStore) String() string
- func (msg *ParamStore) UnmarshalJSON(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetErrorDetail() string
- func (x *Status) GetResult() bool
- func (msg *Status) MarshalJSON() ([]byte, error)
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- func (msg *Status) UnmarshalJSON(b []byte) error
- type TrustVector
- func (*TrustVector) Descriptor() ([]byte, []int)deprecated
- func (x *TrustVector) GetCertificationStatus() AR_Status
- func (x *TrustVector) GetConfigIntegrity() AR_Status
- func (x *TrustVector) GetHardwareAuthenticity() AR_Status
- func (x *TrustVector) GetRuntimeIntegrity() AR_Status
- func (x *TrustVector) GetSoftwareIntegrity() AR_Status
- func (x *TrustVector) GetSoftwareUpToDateness() AR_Status
- func (msg *TrustVector) MarshalJSON() ([]byte, error)
- func (*TrustVector) ProtoMessage()
- func (x *TrustVector) ProtoReflect() protoreflect.Message
- func (x *TrustVector) Reset()
- func (x *TrustVector) String() string
- func (msg *TrustVector) UnmarshalJSON(b []byte) error
- type UnimplementedVTSServer
- func (UnimplementedVTSServer) AddSwComponents(context.Context, *AddSwComponentsRequest) (*AddSwComponentsResponse, error)
- func (UnimplementedVTSServer) AddTrustAnchor(context.Context, *AddTrustAnchorRequest) (*AddTrustAnchorResponse, error)
- func (UnimplementedVTSServer) GetAttestation(context.Context, *AttestationToken) (*AppraisalContext, error)
- func (UnimplementedVTSServer) GetSupportedVerificationMediaTypes(context.Context, *empty.Empty) (*MediaTypeList, error)
- type UnsafeVTSServer
- type VTSClient
- type VTSServer
Constants ¶
This section is empty.
Variables ¶
var ( AttestationFormat_name = map[int32]string{ 0: "UNKNOWN_FORMAT", 1: "PSA_IOT", 2: "TCG_DICE", 3: "TPM_ENACTTRUST", } AttestationFormat_value = map[string]int32{ "UNKNOWN_FORMAT": 0, "PSA_IOT": 1, "TCG_DICE": 2, "TPM_ENACTTRUST": 3, } )
Enum value maps for AttestationFormat.
var ( ParamNecessity_name = map[int32]string{ 0: "OPTIONAL", 1: "REQUIRED", } ParamNecessity_value = map[string]int32{ "OPTIONAL": 0, "REQUIRED": 1, } )
Enum value maps for ParamNecessity.
var ( AR_Status_name = map[int32]string{ 0: "FAILURE", 1: "SUCCESS", 2: "UNKNOWN", 3: "INVALID", } AR_Status_value = map[string]int32{ "FAILURE": 0, "SUCCESS": 1, "UNKNOWN": 2, "INVALID": 3, } )
Enum value maps for AR_Status.
var ( EndorsementType_name = map[int32]string{ 0: "UNSET", 1: "REFERENCE_VALUE", 2: "VERIFICATION_KEY", } EndorsementType_value = map[string]int32{ "UNSET": 0, "REFERENCE_VALUE": 1, "VERIFICATION_KEY": 2, } )
Enum value maps for EndorsementType.
var File_appraisal_context_proto protoreflect.FileDescriptor
var File_attestation_format_proto protoreflect.FileDescriptor
var File_evidence_proto protoreflect.FileDescriptor
var File_param_proto protoreflect.FileDescriptor
var File_result_proto protoreflect.FileDescriptor
var File_token_proto protoreflect.FileDescriptor
var File_vts_proto protoreflect.FileDescriptor
var VTS_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.VTS", HandlerType: (*VTSServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAttestation", Handler: _VTS_GetAttestation_Handler, }, { MethodName: "GetSupportedVerificationMediaTypes", Handler: _VTS_GetSupportedVerificationMediaTypes_Handler, }, { MethodName: "AddSwComponents", Handler: _VTS_AddSwComponents_Handler, }, { MethodName: "AddTrustAnchor", Handler: _VTS_AddTrustAnchor_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vts.proto", }
VTS_ServiceDesc is the grpc.ServiceDesc for VTS service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterVTSServer ¶
func RegisterVTSServer(s grpc.ServiceRegistrar, srv VTSServer)
Types ¶
type AR_Status ¶
type AR_Status int32
func (AR_Status) Descriptor ¶
func (AR_Status) Descriptor() protoreflect.EnumDescriptor
func (AR_Status) EnumDescriptor
deprecated
func (AR_Status) Number ¶
func (x AR_Status) Number() protoreflect.EnumNumber
func (AR_Status) Type ¶
func (AR_Status) Type() protoreflect.EnumType
type AddSwComponentsRequest ¶
type AddSwComponentsRequest struct { SwComponents []*Endorsement `protobuf:"bytes,1,rep,name=sw_components,json=swComponents,proto3" json:"sw_components,omitempty"` // contains filtered or unexported fields }
func (*AddSwComponentsRequest) Descriptor
deprecated
func (*AddSwComponentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSwComponentsRequest.ProtoReflect.Descriptor instead.
func (*AddSwComponentsRequest) GetSwComponents ¶
func (x *AddSwComponentsRequest) GetSwComponents() []*Endorsement
func (*AddSwComponentsRequest) MarshalJSON ¶
func (msg *AddSwComponentsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AddSwComponentsRequest) ProtoMessage ¶
func (*AddSwComponentsRequest) ProtoMessage()
func (*AddSwComponentsRequest) ProtoReflect ¶
func (x *AddSwComponentsRequest) ProtoReflect() protoreflect.Message
func (*AddSwComponentsRequest) Reset ¶
func (x *AddSwComponentsRequest) Reset()
func (*AddSwComponentsRequest) String ¶
func (x *AddSwComponentsRequest) String() string
func (*AddSwComponentsRequest) UnmarshalJSON ¶
func (msg *AddSwComponentsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AddSwComponentsResponse ¶
type AddSwComponentsResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AddSwComponentsResponse) Descriptor
deprecated
func (*AddSwComponentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddSwComponentsResponse.ProtoReflect.Descriptor instead.
func (*AddSwComponentsResponse) GetStatus ¶
func (x *AddSwComponentsResponse) GetStatus() *Status
func (*AddSwComponentsResponse) MarshalJSON ¶
func (msg *AddSwComponentsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AddSwComponentsResponse) ProtoMessage ¶
func (*AddSwComponentsResponse) ProtoMessage()
func (*AddSwComponentsResponse) ProtoReflect ¶
func (x *AddSwComponentsResponse) ProtoReflect() protoreflect.Message
func (*AddSwComponentsResponse) Reset ¶
func (x *AddSwComponentsResponse) Reset()
func (*AddSwComponentsResponse) String ¶
func (x *AddSwComponentsResponse) String() string
func (*AddSwComponentsResponse) UnmarshalJSON ¶
func (msg *AddSwComponentsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AddTrustAnchorRequest ¶
type AddTrustAnchorRequest struct { TrustAnchor *Endorsement `protobuf:"bytes,1,opt,name=trust_anchor,json=trustAnchor,proto3" json:"trust_anchor,omitempty"` // contains filtered or unexported fields }
func (*AddTrustAnchorRequest) Descriptor
deprecated
func (*AddTrustAnchorRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTrustAnchorRequest.ProtoReflect.Descriptor instead.
func (*AddTrustAnchorRequest) GetTrustAnchor ¶
func (x *AddTrustAnchorRequest) GetTrustAnchor() *Endorsement
func (*AddTrustAnchorRequest) MarshalJSON ¶
func (msg *AddTrustAnchorRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AddTrustAnchorRequest) ProtoMessage ¶
func (*AddTrustAnchorRequest) ProtoMessage()
func (*AddTrustAnchorRequest) ProtoReflect ¶
func (x *AddTrustAnchorRequest) ProtoReflect() protoreflect.Message
func (*AddTrustAnchorRequest) Reset ¶
func (x *AddTrustAnchorRequest) Reset()
func (*AddTrustAnchorRequest) String ¶
func (x *AddTrustAnchorRequest) String() string
func (*AddTrustAnchorRequest) UnmarshalJSON ¶
func (msg *AddTrustAnchorRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AddTrustAnchorResponse ¶
type AddTrustAnchorResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AddTrustAnchorResponse) Descriptor
deprecated
func (*AddTrustAnchorResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddTrustAnchorResponse.ProtoReflect.Descriptor instead.
func (*AddTrustAnchorResponse) GetStatus ¶
func (x *AddTrustAnchorResponse) GetStatus() *Status
func (*AddTrustAnchorResponse) MarshalJSON ¶
func (msg *AddTrustAnchorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AddTrustAnchorResponse) ProtoMessage ¶
func (*AddTrustAnchorResponse) ProtoMessage()
func (*AddTrustAnchorResponse) ProtoReflect ¶
func (x *AddTrustAnchorResponse) ProtoReflect() protoreflect.Message
func (*AddTrustAnchorResponse) Reset ¶
func (x *AddTrustAnchorResponse) Reset()
func (*AddTrustAnchorResponse) String ¶
func (x *AddTrustAnchorResponse) String() string
func (*AddTrustAnchorResponse) UnmarshalJSON ¶
func (msg *AddTrustAnchorResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AppraisalContext ¶
type AppraisalContext struct { Evidence *EvidenceContext `protobuf:"bytes,1,opt,name=evidence,proto3" json:"evidence,omitempty"` Result *AttestationResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*AppraisalContext) Descriptor
deprecated
func (*AppraisalContext) Descriptor() ([]byte, []int)
Deprecated: Use AppraisalContext.ProtoReflect.Descriptor instead.
func (*AppraisalContext) GetEvidence ¶
func (x *AppraisalContext) GetEvidence() *EvidenceContext
func (*AppraisalContext) GetResult ¶
func (x *AppraisalContext) GetResult() *AttestationResult
func (*AppraisalContext) MarshalJSON ¶
func (msg *AppraisalContext) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AppraisalContext) ProtoMessage ¶
func (*AppraisalContext) ProtoMessage()
func (*AppraisalContext) ProtoReflect ¶
func (x *AppraisalContext) ProtoReflect() protoreflect.Message
func (*AppraisalContext) Reset ¶
func (x *AppraisalContext) Reset()
func (*AppraisalContext) String ¶
func (x *AppraisalContext) String() string
func (*AppraisalContext) UnmarshalJSON ¶
func (msg *AppraisalContext) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AttestationFormat ¶
type AttestationFormat int32
const ( // UnknownFormat is used to indicate that the format of the attestation could // not be established. AttestationFormat_UNKNOWN_FORMAT AttestationFormat = 0 // PSA_IOT is the PSA attestation format (based on: // https://developer.arm.com/architectures/architecture-security-features/platform-security) AttestationFormat_PSA_IOT AttestationFormat = 1 // TCP_DICE is the attestation format based on the TCG DICE specification // https://trustedcomputinggroup.org/wp-content/uploads/TCG_DICE_Attestation_Architecture_r22_02dec2020.pdf AttestationFormat_TCG_DICE AttestationFormat = 2 // TPM EnactTrust AttestationFormat_TPM_ENACTTRUST AttestationFormat = 3 )
func (AttestationFormat) Descriptor ¶
func (AttestationFormat) Descriptor() protoreflect.EnumDescriptor
func (AttestationFormat) Enum ¶
func (x AttestationFormat) Enum() *AttestationFormat
func (AttestationFormat) EnumDescriptor
deprecated
func (AttestationFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttestationFormat.Descriptor instead.
func (AttestationFormat) Number ¶
func (x AttestationFormat) Number() protoreflect.EnumNumber
func (AttestationFormat) String ¶
func (x AttestationFormat) String() string
func (AttestationFormat) Type ¶
func (AttestationFormat) Type() protoreflect.EnumType
type AttestationResult ¶
type AttestationResult struct { Status AR_Status `protobuf:"varint,1,opt,name=status,proto3,enum=proto.AR_Status" json:"status,omitempty"` TrustVector *TrustVector `protobuf:"bytes,2,opt,name=trust_vector,json=trust-vector,proto3" json:"trust_vector,omitempty"` RawEvidence []byte `protobuf:"bytes,3,opt,name=raw_evidence,json=raw-evidence,proto3" json:"raw_evidence,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` EndorsedClaims *EndorsedClaims `protobuf:"bytes,5,opt,name=endorsed_claims,json=endorsed-claims,proto3" json:"endorsed_claims,omitempty"` AppraisalPolicyID string `protobuf:"bytes,6,opt,name=AppraisalPolicyID,json=appraisal-policy-id,proto3" json:"AppraisalPolicyID,omitempty"` // Extension ProcessedEvidence *_struct.Struct `protobuf:"bytes,7,opt,name=processed_evidence,json=veraison-processed-evidence,proto3" json:"processed_evidence,omitempty"` // contains filtered or unexported fields }
func (*AttestationResult) Descriptor
deprecated
func (*AttestationResult) Descriptor() ([]byte, []int)
Deprecated: Use AttestationResult.ProtoReflect.Descriptor instead.
func (*AttestationResult) GetAppraisalPolicyID ¶
func (x *AttestationResult) GetAppraisalPolicyID() string
func (*AttestationResult) GetEndorsedClaims ¶
func (x *AttestationResult) GetEndorsedClaims() *EndorsedClaims
func (*AttestationResult) GetProcessedEvidence ¶
func (x *AttestationResult) GetProcessedEvidence() *_struct.Struct
func (*AttestationResult) GetRawEvidence ¶
func (x *AttestationResult) GetRawEvidence() []byte
func (*AttestationResult) GetStatus ¶
func (x *AttestationResult) GetStatus() AR_Status
func (*AttestationResult) GetTimestamp ¶
func (x *AttestationResult) GetTimestamp() *timestamp.Timestamp
func (*AttestationResult) GetTrustVector ¶
func (x *AttestationResult) GetTrustVector() *TrustVector
func (*AttestationResult) MarshalJSON ¶
func (msg *AttestationResult) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AttestationResult) ProtoMessage ¶
func (*AttestationResult) ProtoMessage()
func (*AttestationResult) ProtoReflect ¶
func (x *AttestationResult) ProtoReflect() protoreflect.Message
func (*AttestationResult) Reset ¶
func (x *AttestationResult) Reset()
func (*AttestationResult) String ¶
func (x *AttestationResult) String() string
func (*AttestationResult) UnmarshalJSON ¶
func (msg *AttestationResult) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type AttestationToken ¶
type AttestationToken struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Format AttestationFormat `protobuf:"varint,2,opt,name=format,proto3,enum=proto.AttestationFormat" json:"format,omitempty"` // TODO remove me Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` MediaType string `protobuf:"bytes,4,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` // contains filtered or unexported fields }
func (*AttestationToken) Descriptor
deprecated
func (*AttestationToken) Descriptor() ([]byte, []int)
Deprecated: Use AttestationToken.ProtoReflect.Descriptor instead.
func (*AttestationToken) GetData ¶
func (x *AttestationToken) GetData() []byte
func (*AttestationToken) GetFormat ¶
func (x *AttestationToken) GetFormat() AttestationFormat
func (*AttestationToken) GetMediaType ¶
func (x *AttestationToken) GetMediaType() string
func (*AttestationToken) GetTenantId ¶
func (x *AttestationToken) GetTenantId() string
func (*AttestationToken) MarshalJSON ¶
func (msg *AttestationToken) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AttestationToken) ProtoMessage ¶
func (*AttestationToken) ProtoMessage()
func (*AttestationToken) ProtoReflect ¶
func (x *AttestationToken) ProtoReflect() protoreflect.Message
func (*AttestationToken) Reset ¶
func (x *AttestationToken) Reset()
func (*AttestationToken) String ¶
func (x *AttestationToken) String() string
func (*AttestationToken) UnmarshalJSON ¶
func (msg *AttestationToken) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type EndorsedClaims ¶
type EndorsedClaims struct { HardwareDetails *_struct.Struct `protobuf:"bytes,1,opt,name=hardware_details,json=hw-details,proto3" json:"hardware_details,omitempty"` SoftwareDetails *_struct.Struct `protobuf:"bytes,2,opt,name=software_details,json=sw-details,proto3" json:"software_details,omitempty"` CertificationDetails *_struct.Struct `protobuf:"bytes,3,opt,name=certification_details,json=certification-details,proto3" json:"certification_details,omitempty"` ConfigDetails *_struct.Struct `protobuf:"bytes,4,opt,name=config_details,json=config-details,proto3" json:"config_details,omitempty"` // contains filtered or unexported fields }
func (*EndorsedClaims) Descriptor
deprecated
func (*EndorsedClaims) Descriptor() ([]byte, []int)
Deprecated: Use EndorsedClaims.ProtoReflect.Descriptor instead.
func (*EndorsedClaims) GetCertificationDetails ¶
func (x *EndorsedClaims) GetCertificationDetails() *_struct.Struct
func (*EndorsedClaims) GetConfigDetails ¶
func (x *EndorsedClaims) GetConfigDetails() *_struct.Struct
func (*EndorsedClaims) GetHardwareDetails ¶
func (x *EndorsedClaims) GetHardwareDetails() *_struct.Struct
func (*EndorsedClaims) GetSoftwareDetails ¶
func (x *EndorsedClaims) GetSoftwareDetails() *_struct.Struct
func (*EndorsedClaims) MarshalJSON ¶
func (msg *EndorsedClaims) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*EndorsedClaims) ProtoMessage ¶
func (*EndorsedClaims) ProtoMessage()
func (*EndorsedClaims) ProtoReflect ¶
func (x *EndorsedClaims) ProtoReflect() protoreflect.Message
func (*EndorsedClaims) Reset ¶
func (x *EndorsedClaims) Reset()
func (*EndorsedClaims) String ¶
func (x *EndorsedClaims) String() string
func (*EndorsedClaims) UnmarshalJSON ¶
func (msg *EndorsedClaims) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Endorsement ¶
type Endorsement struct { Scheme AttestationFormat `protobuf:"varint,1,opt,name=scheme,proto3,enum=proto.AttestationFormat" json:"scheme,omitempty"` Type EndorsementType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.EndorsementType" json:"type,omitempty"` Attributes *_struct.Struct `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*Endorsement) Descriptor
deprecated
func (*Endorsement) Descriptor() ([]byte, []int)
Deprecated: Use Endorsement.ProtoReflect.Descriptor instead.
func (*Endorsement) GetAttributes ¶
func (x *Endorsement) GetAttributes() *_struct.Struct
func (*Endorsement) GetScheme ¶
func (x *Endorsement) GetScheme() AttestationFormat
func (*Endorsement) GetType ¶
func (x *Endorsement) GetType() EndorsementType
func (*Endorsement) MarshalJSON ¶
func (msg *Endorsement) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Endorsement) ProtoMessage ¶
func (*Endorsement) ProtoMessage()
func (*Endorsement) ProtoReflect ¶
func (x *Endorsement) ProtoReflect() protoreflect.Message
func (*Endorsement) Reset ¶
func (x *Endorsement) Reset()
func (*Endorsement) String ¶
func (x *Endorsement) String() string
func (*Endorsement) UnmarshalJSON ¶
func (msg *Endorsement) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type EndorsementType ¶
type EndorsementType int32
const ( EndorsementType_UNSET EndorsementType = 0 EndorsementType_REFERENCE_VALUE EndorsementType = 1 EndorsementType_VERIFICATION_KEY EndorsementType = 2 )
func (EndorsementType) Descriptor ¶
func (EndorsementType) Descriptor() protoreflect.EnumDescriptor
func (EndorsementType) Enum ¶
func (x EndorsementType) Enum() *EndorsementType
func (EndorsementType) EnumDescriptor
deprecated
func (EndorsementType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EndorsementType.Descriptor instead.
func (EndorsementType) Number ¶
func (x EndorsementType) Number() protoreflect.EnumNumber
func (EndorsementType) String ¶
func (x EndorsementType) String() string
func (EndorsementType) Type ¶
func (EndorsementType) Type() protoreflect.EnumType
type Evidence ¶
type Evidence struct { Value *_struct.Struct `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Evidence) Descriptor
deprecated
func (*Evidence) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) ProtoReflect ¶
func (x *Evidence) ProtoReflect() protoreflect.Message
func (*Evidence) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type EvidenceContext ¶
type EvidenceContext struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenant-id,proto3" json:"tenant_id,omitempty"` TrustAnchorId string `protobuf:"bytes,2,opt,name=trust_anchor_id,json=trust-anchor-id,proto3" json:"trust_anchor_id,omitempty"` SoftwareId string `protobuf:"bytes,3,opt,name=software_id,json=software-id,proto3" json:"software_id,omitempty"` Format AttestationFormat `protobuf:"varint,4,opt,name=format,json=attestation-format,proto3,enum=proto.AttestationFormat" json:"format,omitempty"` Evidence *_struct.Struct `protobuf:"bytes,5,opt,name=evidence,proto3" json:"evidence,omitempty"` // contains filtered or unexported fields }
func (*EvidenceContext) Descriptor
deprecated
func (*EvidenceContext) Descriptor() ([]byte, []int)
Deprecated: Use EvidenceContext.ProtoReflect.Descriptor instead.
func (*EvidenceContext) GetEvidence ¶
func (x *EvidenceContext) GetEvidence() *_struct.Struct
func (*EvidenceContext) GetFormat ¶
func (x *EvidenceContext) GetFormat() AttestationFormat
func (*EvidenceContext) GetSoftwareId ¶
func (x *EvidenceContext) GetSoftwareId() string
func (*EvidenceContext) GetTenantId ¶
func (x *EvidenceContext) GetTenantId() string
func (*EvidenceContext) GetTrustAnchorId ¶
func (x *EvidenceContext) GetTrustAnchorId() string
func (*EvidenceContext) MarshalJSON ¶
func (msg *EvidenceContext) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*EvidenceContext) ProtoMessage ¶
func (*EvidenceContext) ProtoMessage()
func (*EvidenceContext) ProtoReflect ¶
func (x *EvidenceContext) ProtoReflect() protoreflect.Message
func (*EvidenceContext) Reset ¶
func (x *EvidenceContext) Reset()
func (*EvidenceContext) String ¶
func (x *EvidenceContext) String() string
func (*EvidenceContext) UnmarshalJSON ¶
func (msg *EvidenceContext) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type MediaTypeList ¶
type MediaTypeList struct { MediaTypes []string `protobuf:"bytes,1,rep,name=media_types,json=mediaTypes,proto3" json:"media_types,omitempty"` // contains filtered or unexported fields }
func (*MediaTypeList) Descriptor
deprecated
func (*MediaTypeList) Descriptor() ([]byte, []int)
Deprecated: Use MediaTypeList.ProtoReflect.Descriptor instead.
func (*MediaTypeList) GetMediaTypes ¶
func (x *MediaTypeList) GetMediaTypes() []string
func (*MediaTypeList) MarshalJSON ¶
func (msg *MediaTypeList) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*MediaTypeList) ProtoMessage ¶
func (*MediaTypeList) ProtoMessage()
func (*MediaTypeList) ProtoReflect ¶
func (x *MediaTypeList) ProtoReflect() protoreflect.Message
func (*MediaTypeList) Reset ¶
func (x *MediaTypeList) Reset()
func (*MediaTypeList) String ¶
func (x *MediaTypeList) String() string
func (*MediaTypeList) UnmarshalJSON ¶
func (msg *MediaTypeList) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ParamDescription ¶
type ParamDescription struct { Kind uint32 `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Required ParamNecessity `protobuf:"varint,3,opt,name=required,proto3,enum=proto.ParamNecessity" json:"required,omitempty"` // contains filtered or unexported fields }
func (*ParamDescription) Descriptor
deprecated
func (*ParamDescription) Descriptor() ([]byte, []int)
Deprecated: Use ParamDescription.ProtoReflect.Descriptor instead.
func (*ParamDescription) GetKind ¶
func (x *ParamDescription) GetKind() uint32
func (*ParamDescription) GetPath ¶
func (x *ParamDescription) GetPath() string
func (*ParamDescription) GetRequired ¶
func (x *ParamDescription) GetRequired() ParamNecessity
func (*ParamDescription) MarshalJSON ¶
func (msg *ParamDescription) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ParamDescription) ProtoMessage ¶
func (*ParamDescription) ProtoMessage()
func (*ParamDescription) ProtoReflect ¶
func (x *ParamDescription) ProtoReflect() protoreflect.Message
func (*ParamDescription) Reset ¶
func (x *ParamDescription) Reset()
func (*ParamDescription) String ¶
func (x *ParamDescription) String() string
func (*ParamDescription) UnmarshalJSON ¶
func (msg *ParamDescription) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ParamNecessity ¶
type ParamNecessity int32
const ( ParamNecessity_OPTIONAL ParamNecessity = 0 ParamNecessity_REQUIRED ParamNecessity = 1 )
func (ParamNecessity) Descriptor ¶
func (ParamNecessity) Descriptor() protoreflect.EnumDescriptor
func (ParamNecessity) Enum ¶
func (x ParamNecessity) Enum() *ParamNecessity
func (ParamNecessity) EnumDescriptor
deprecated
func (ParamNecessity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ParamNecessity.Descriptor instead.
func (ParamNecessity) Number ¶
func (x ParamNecessity) Number() protoreflect.EnumNumber
func (ParamNecessity) String ¶
func (x ParamNecessity) String() string
func (ParamNecessity) Type ¶
func (ParamNecessity) Type() protoreflect.EnumType
type ParamStore ¶
type ParamStore struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` IsFrozen bool `protobuf:"varint,2,opt,name=is_frozen,json=isFrozen,proto3" json:"is_frozen,omitempty"` Data *_struct.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Params map[string]*ParamDescription `` /* 153-byte string literal not displayed */ Required []string `protobuf:"bytes,5,rep,name=required,proto3" json:"required,omitempty"` // contains filtered or unexported fields }
func (*ParamStore) Descriptor
deprecated
func (*ParamStore) Descriptor() ([]byte, []int)
Deprecated: Use ParamStore.ProtoReflect.Descriptor instead.
func (*ParamStore) GetData ¶
func (x *ParamStore) GetData() *_struct.Struct
func (*ParamStore) GetIsFrozen ¶
func (x *ParamStore) GetIsFrozen() bool
func (*ParamStore) GetName ¶
func (x *ParamStore) GetName() string
func (*ParamStore) GetParams ¶
func (x *ParamStore) GetParams() map[string]*ParamDescription
func (*ParamStore) GetRequired ¶
func (x *ParamStore) GetRequired() []string
func (*ParamStore) MarshalJSON ¶
func (msg *ParamStore) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ParamStore) ProtoMessage ¶
func (*ParamStore) ProtoMessage()
func (*ParamStore) ProtoReflect ¶
func (x *ParamStore) ProtoReflect() protoreflect.Message
func (*ParamStore) Reset ¶
func (x *ParamStore) Reset()
func (*ParamStore) String ¶
func (x *ParamStore) String() string
func (*ParamStore) UnmarshalJSON ¶
func (msg *ParamStore) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Status ¶
type Status struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` ErrorDetail string `protobuf:"bytes,2,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetErrorDetail ¶
func (*Status) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
func (*Status) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type TrustVector ¶
type TrustVector struct { HardwareAuthenticity AR_Status `` /* 138-byte string literal not displayed */ SoftwareIntegrity AR_Status `` /* 129-byte string literal not displayed */ SoftwareUpToDateness AR_Status `` /* 144-byte string literal not displayed */ ConfigIntegrity AR_Status `` /* 129-byte string literal not displayed */ RuntimeIntegrity AR_Status `` /* 132-byte string literal not displayed */ CertificationStatus AR_Status `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TrustVector) Descriptor
deprecated
func (*TrustVector) Descriptor() ([]byte, []int)
Deprecated: Use TrustVector.ProtoReflect.Descriptor instead.
func (*TrustVector) GetCertificationStatus ¶
func (x *TrustVector) GetCertificationStatus() AR_Status
func (*TrustVector) GetConfigIntegrity ¶
func (x *TrustVector) GetConfigIntegrity() AR_Status
func (*TrustVector) GetHardwareAuthenticity ¶
func (x *TrustVector) GetHardwareAuthenticity() AR_Status
func (*TrustVector) GetRuntimeIntegrity ¶
func (x *TrustVector) GetRuntimeIntegrity() AR_Status
func (*TrustVector) GetSoftwareIntegrity ¶
func (x *TrustVector) GetSoftwareIntegrity() AR_Status
func (*TrustVector) GetSoftwareUpToDateness ¶
func (x *TrustVector) GetSoftwareUpToDateness() AR_Status
func (*TrustVector) MarshalJSON ¶
func (msg *TrustVector) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TrustVector) ProtoMessage ¶
func (*TrustVector) ProtoMessage()
func (*TrustVector) ProtoReflect ¶
func (x *TrustVector) ProtoReflect() protoreflect.Message
func (*TrustVector) Reset ¶
func (x *TrustVector) Reset()
func (*TrustVector) String ¶
func (x *TrustVector) String() string
func (*TrustVector) UnmarshalJSON ¶
func (msg *TrustVector) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type UnimplementedVTSServer ¶
type UnimplementedVTSServer struct { }
UnimplementedVTSServer must be embedded to have forward compatible implementations.
func (UnimplementedVTSServer) AddSwComponents ¶
func (UnimplementedVTSServer) AddSwComponents(context.Context, *AddSwComponentsRequest) (*AddSwComponentsResponse, error)
func (UnimplementedVTSServer) AddTrustAnchor ¶
func (UnimplementedVTSServer) AddTrustAnchor(context.Context, *AddTrustAnchorRequest) (*AddTrustAnchorResponse, error)
func (UnimplementedVTSServer) GetAttestation ¶
func (UnimplementedVTSServer) GetAttestation(context.Context, *AttestationToken) (*AppraisalContext, error)
func (UnimplementedVTSServer) GetSupportedVerificationMediaTypes ¶
func (UnimplementedVTSServer) GetSupportedVerificationMediaTypes(context.Context, *empty.Empty) (*MediaTypeList, error)
type UnsafeVTSServer ¶
type UnsafeVTSServer interface {
// contains filtered or unexported methods
}
UnsafeVTSServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VTSServer will result in compilation errors.
type VTSClient ¶
type VTSClient interface { // Returns attestation information -- evidences, endorsed claims, trust // vector, etc -- for the provided attestation token data. GetAttestation(ctx context.Context, in *AttestationToken, opts ...grpc.CallOption) (*AppraisalContext, error) GetSupportedVerificationMediaTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MediaTypeList, error) // Service endpoints that are used to store Software Components // and Trust Anchors to the endorsement store AddSwComponents(ctx context.Context, in *AddSwComponentsRequest, opts ...grpc.CallOption) (*AddSwComponentsResponse, error) AddTrustAnchor(ctx context.Context, in *AddTrustAnchorRequest, opts ...grpc.CallOption) (*AddTrustAnchorResponse, error) }
VTSClient is the client API for VTS 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 NewVTSClient ¶
func NewVTSClient(cc grpc.ClientConnInterface) VTSClient
type VTSServer ¶
type VTSServer interface { // Returns attestation information -- evidences, endorsed claims, trust // vector, etc -- for the provided attestation token data. GetAttestation(context.Context, *AttestationToken) (*AppraisalContext, error) GetSupportedVerificationMediaTypes(context.Context, *empty.Empty) (*MediaTypeList, error) // Service endpoints that are used to store Software Components // and Trust Anchors to the endorsement store AddSwComponents(context.Context, *AddSwComponentsRequest) (*AddSwComponentsResponse, error) AddTrustAnchor(context.Context, *AddTrustAnchorRequest) (*AddTrustAnchorResponse, error) // contains filtered or unexported methods }
VTSServer is the server API for VTS service. All implementations must embed UnimplementedVTSServer for forward compatibility