attestz

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_openconfig_attestz_proto_tpm_enrollz_proto protoreflect.FileDescriptor

Functions

func RegisterTpmEnrollzServiceServer

func RegisterTpmEnrollzServiceServer(s *grpc.Server, srv TpmEnrollzServiceServer)

Types

type GetIakCertRequest

type GetIakCertRequest struct {
	ControlCardSelection *common_definitions.ControlCardSelection `protobuf:"bytes,1,opt,name=control_card_selection,json=controlCardSelection,proto3" json:"control_card_selection,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIakCertRequest) Descriptor deprecated

func (*GetIakCertRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIakCertRequest.ProtoReflect.Descriptor instead.

func (*GetIakCertRequest) GetControlCardSelection

func (x *GetIakCertRequest) GetControlCardSelection() *common_definitions.ControlCardSelection

func (*GetIakCertRequest) ProtoMessage

func (*GetIakCertRequest) ProtoMessage()

func (*GetIakCertRequest) ProtoReflect

func (x *GetIakCertRequest) ProtoReflect() protoreflect.Message

func (*GetIakCertRequest) Reset

func (x *GetIakCertRequest) Reset()

func (*GetIakCertRequest) String

func (x *GetIakCertRequest) String() string

type GetIakCertResponse

type GetIakCertResponse struct {
	ControlCardId *common_definitions.ControlCardVendorId `protobuf:"bytes,1,opt,name=control_card_id,json=controlCardId,proto3" json:"control_card_id,omitempty"`
	IakCert       string                                  `protobuf:"bytes,2,opt,name=iak_cert,json=iakCert,proto3" json:"iak_cert,omitempty"`
	IdevidCert    string                                  `protobuf:"bytes,3,opt,name=idevid_cert,json=idevidCert,proto3" json:"idevid_cert,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIakCertResponse) Descriptor deprecated

func (*GetIakCertResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetIakCertResponse.ProtoReflect.Descriptor instead.

func (*GetIakCertResponse) GetControlCardId

func (*GetIakCertResponse) GetIakCert

func (x *GetIakCertResponse) GetIakCert() string

func (*GetIakCertResponse) GetIdevidCert

func (x *GetIakCertResponse) GetIdevidCert() string

func (*GetIakCertResponse) ProtoMessage

func (*GetIakCertResponse) ProtoMessage()

func (*GetIakCertResponse) ProtoReflect

func (x *GetIakCertResponse) ProtoReflect() protoreflect.Message

func (*GetIakCertResponse) Reset

func (x *GetIakCertResponse) Reset()

func (*GetIakCertResponse) String

func (x *GetIakCertResponse) String() string

type RotateAIKCertRequest added in v0.3.0

type RotateAIKCertRequest struct {

	// Types that are assignable to Value:
	//
	//	*RotateAIKCertRequest_IssuerPublicKey
	//	*RotateAIKCertRequest_IssuerCertPayload_
	//	*RotateAIKCertRequest_Finalize
	Value isRotateAIKCertRequest_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*RotateAIKCertRequest) Descriptor deprecated added in v0.3.0

func (*RotateAIKCertRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateAIKCertRequest.ProtoReflect.Descriptor instead.

func (*RotateAIKCertRequest) GetFinalize added in v0.3.0

func (x *RotateAIKCertRequest) GetFinalize() bool

func (*RotateAIKCertRequest) GetIssuerCertPayload added in v0.3.0

func (*RotateAIKCertRequest) GetIssuerPublicKey added in v0.3.0

func (x *RotateAIKCertRequest) GetIssuerPublicKey() []byte

func (*RotateAIKCertRequest) GetValue added in v0.3.0

func (m *RotateAIKCertRequest) GetValue() isRotateAIKCertRequest_Value

func (*RotateAIKCertRequest) ProtoMessage added in v0.3.0

func (*RotateAIKCertRequest) ProtoMessage()

func (*RotateAIKCertRequest) ProtoReflect added in v0.3.0

func (x *RotateAIKCertRequest) ProtoReflect() protoreflect.Message

func (*RotateAIKCertRequest) Reset added in v0.3.0

func (x *RotateAIKCertRequest) Reset()

func (*RotateAIKCertRequest) String added in v0.3.0

func (x *RotateAIKCertRequest) String() string

type RotateAIKCertRequest_Finalize added in v0.3.0

type RotateAIKCertRequest_Finalize struct {
	Finalize bool `protobuf:"varint,3,opt,name=finalize,proto3,oneof"`
}

type RotateAIKCertRequest_IssuerCertPayload added in v0.3.0

type RotateAIKCertRequest_IssuerCertPayload struct {
	SymmetricKeyBlob []byte `protobuf:"bytes,1,opt,name=symmetric_key_blob,json=symmetricKeyBlob,proto3" json:"symmetric_key_blob,omitempty"`
	AikCertBlob      []byte `protobuf:"bytes,2,opt,name=aik_cert_blob,json=aikCertBlob,proto3" json:"aik_cert_blob,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateAIKCertRequest_IssuerCertPayload) Descriptor deprecated added in v0.3.0

func (*RotateAIKCertRequest_IssuerCertPayload) Descriptor() ([]byte, []int)

Deprecated: Use RotateAIKCertRequest_IssuerCertPayload.ProtoReflect.Descriptor instead.

func (*RotateAIKCertRequest_IssuerCertPayload) GetAikCertBlob added in v0.3.0

func (x *RotateAIKCertRequest_IssuerCertPayload) GetAikCertBlob() []byte

func (*RotateAIKCertRequest_IssuerCertPayload) GetSymmetricKeyBlob added in v0.3.0

func (x *RotateAIKCertRequest_IssuerCertPayload) GetSymmetricKeyBlob() []byte

func (*RotateAIKCertRequest_IssuerCertPayload) ProtoMessage added in v0.3.0

func (*RotateAIKCertRequest_IssuerCertPayload) ProtoReflect added in v0.3.0

func (*RotateAIKCertRequest_IssuerCertPayload) Reset added in v0.3.0

func (*RotateAIKCertRequest_IssuerCertPayload) String added in v0.3.0

type RotateAIKCertRequest_IssuerCertPayload_ added in v0.3.0

type RotateAIKCertRequest_IssuerCertPayload_ struct {
	IssuerCertPayload *RotateAIKCertRequest_IssuerCertPayload `protobuf:"bytes,2,opt,name=issuer_cert_payload,json=issuerCertPayload,proto3,oneof"`
}

type RotateAIKCertRequest_IssuerPublicKey added in v0.3.0

type RotateAIKCertRequest_IssuerPublicKey struct {
	IssuerPublicKey []byte `protobuf:"bytes,1,opt,name=issuer_public_key,json=issuerPublicKey,proto3,oneof"`
}

type RotateAIKCertResponse added in v0.3.0

type RotateAIKCertResponse struct {

	// Types that are assignable to Value:
	//
	//	*RotateAIKCertResponse_ApplicationIdentityRequest
	//	*RotateAIKCertResponse_AikCert
	Value isRotateAIKCertResponse_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*RotateAIKCertResponse) Descriptor deprecated added in v0.3.0

func (*RotateAIKCertResponse) Descriptor() ([]byte, []int)

Deprecated: Use RotateAIKCertResponse.ProtoReflect.Descriptor instead.

func (*RotateAIKCertResponse) GetAikCert added in v0.3.0

func (x *RotateAIKCertResponse) GetAikCert() string

func (*RotateAIKCertResponse) GetApplicationIdentityRequest added in v0.3.0

func (x *RotateAIKCertResponse) GetApplicationIdentityRequest() []byte

func (*RotateAIKCertResponse) GetValue added in v0.3.0

func (m *RotateAIKCertResponse) GetValue() isRotateAIKCertResponse_Value

func (*RotateAIKCertResponse) ProtoMessage added in v0.3.0

func (*RotateAIKCertResponse) ProtoMessage()

func (*RotateAIKCertResponse) ProtoReflect added in v0.3.0

func (x *RotateAIKCertResponse) ProtoReflect() protoreflect.Message

func (*RotateAIKCertResponse) Reset added in v0.3.0

func (x *RotateAIKCertResponse) Reset()

func (*RotateAIKCertResponse) String added in v0.3.0

func (x *RotateAIKCertResponse) String() string

type RotateAIKCertResponse_AikCert added in v0.3.0

type RotateAIKCertResponse_AikCert struct {
	AikCert string `protobuf:"bytes,2,opt,name=aik_cert,json=aikCert,proto3,oneof"`
}

type RotateAIKCertResponse_ApplicationIdentityRequest added in v0.3.0

type RotateAIKCertResponse_ApplicationIdentityRequest struct {
	ApplicationIdentityRequest []byte `protobuf:"bytes,1,opt,name=application_identity_request,json=applicationIdentityRequest,proto3,oneof"`
}

type RotateOIakCertRequest

type RotateOIakCertRequest struct {
	ControlCardSelection *common_definitions.ControlCardSelection `protobuf:"bytes,1,opt,name=control_card_selection,json=controlCardSelection,proto3" json:"control_card_selection,omitempty"`
	OiakCert             string                                   `protobuf:"bytes,2,opt,name=oiak_cert,json=oiakCert,proto3" json:"oiak_cert,omitempty"`
	OidevidCert          string                                   `protobuf:"bytes,3,opt,name=oidevid_cert,json=oidevidCert,proto3" json:"oidevid_cert,omitempty"`
	SslProfileId         string                                   `protobuf:"bytes,4,opt,name=ssl_profile_id,json=sslProfileId,proto3" json:"ssl_profile_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateOIakCertRequest) Descriptor deprecated

func (*RotateOIakCertRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateOIakCertRequest.ProtoReflect.Descriptor instead.

func (*RotateOIakCertRequest) GetControlCardSelection

func (x *RotateOIakCertRequest) GetControlCardSelection() *common_definitions.ControlCardSelection

func (*RotateOIakCertRequest) GetOiakCert

func (x *RotateOIakCertRequest) GetOiakCert() string

func (*RotateOIakCertRequest) GetOidevidCert

func (x *RotateOIakCertRequest) GetOidevidCert() string

func (*RotateOIakCertRequest) GetSslProfileId

func (x *RotateOIakCertRequest) GetSslProfileId() string

func (*RotateOIakCertRequest) ProtoMessage

func (*RotateOIakCertRequest) ProtoMessage()

func (*RotateOIakCertRequest) ProtoReflect

func (x *RotateOIakCertRequest) ProtoReflect() protoreflect.Message

func (*RotateOIakCertRequest) Reset

func (x *RotateOIakCertRequest) Reset()

func (*RotateOIakCertRequest) String

func (x *RotateOIakCertRequest) String() string

type RotateOIakCertResponse

type RotateOIakCertResponse struct {
	// contains filtered or unexported fields
}

func (*RotateOIakCertResponse) Descriptor deprecated

func (*RotateOIakCertResponse) Descriptor() ([]byte, []int)

Deprecated: Use RotateOIakCertResponse.ProtoReflect.Descriptor instead.

func (*RotateOIakCertResponse) ProtoMessage

func (*RotateOIakCertResponse) ProtoMessage()

func (*RotateOIakCertResponse) ProtoReflect

func (x *RotateOIakCertResponse) ProtoReflect() protoreflect.Message

func (*RotateOIakCertResponse) Reset

func (x *RotateOIakCertResponse) Reset()

func (*RotateOIakCertResponse) String

func (x *RotateOIakCertResponse) String() string

type TpmEnrollzServiceClient

type TpmEnrollzServiceClient interface {
	GetIakCert(ctx context.Context, in *GetIakCertRequest, opts ...grpc.CallOption) (*GetIakCertResponse, error)
	RotateOIakCert(ctx context.Context, in *RotateOIakCertRequest, opts ...grpc.CallOption) (*RotateOIakCertResponse, error)
	RotateAIKCert(ctx context.Context, opts ...grpc.CallOption) (TpmEnrollzService_RotateAIKCertClient, error)
}

TpmEnrollzServiceClient is the client API for TpmEnrollzService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TpmEnrollzServiceServer

type TpmEnrollzServiceServer interface {
	GetIakCert(context.Context, *GetIakCertRequest) (*GetIakCertResponse, error)
	RotateOIakCert(context.Context, *RotateOIakCertRequest) (*RotateOIakCertResponse, error)
	RotateAIKCert(TpmEnrollzService_RotateAIKCertServer) error
}

TpmEnrollzServiceServer is the server API for TpmEnrollzService service.

type TpmEnrollzService_RotateAIKCertClient added in v0.3.0

type TpmEnrollzService_RotateAIKCertClient interface {
	Send(*RotateAIKCertRequest) error
	Recv() (*RotateAIKCertRequest, error)
	grpc.ClientStream
}

type TpmEnrollzService_RotateAIKCertServer added in v0.3.0

type TpmEnrollzService_RotateAIKCertServer interface {
	Send(*RotateAIKCertRequest) error
	Recv() (*RotateAIKCertRequest, error)
	grpc.ServerStream
}

type UnimplementedTpmEnrollzServiceServer

type UnimplementedTpmEnrollzServiceServer struct {
}

UnimplementedTpmEnrollzServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTpmEnrollzServiceServer) GetIakCert

func (*UnimplementedTpmEnrollzServiceServer) RotateAIKCert added in v0.3.0

func (*UnimplementedTpmEnrollzServiceServer) RotateOIakCert

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL