clientapi

package
v0.0.0-...-9b07614 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MulanPSL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

clientapi package implements the grpc communication between rac and ras.

Index

Constants

This section is empty.

Variables

View Source
var File_clientapi_api_proto protoreflect.FileDescriptor
View Source
var Ras_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Ras",
	HandlerType: (*RasServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenerateEKCert",
			Handler:    _Ras_GenerateEKCert_Handler,
		},
		{
			MethodName: "GenerateIKCert",
			Handler:    _Ras_GenerateIKCert_Handler,
		},
		{
			MethodName: "RegisterClient",
			Handler:    _Ras_RegisterClient_Handler,
		},
		{
			MethodName: "UnregisterClient",
			Handler:    _Ras_UnregisterClient_Handler,
		},
		{
			MethodName: "SendHeartbeat",
			Handler:    _Ras_SendHeartbeat_Handler,
		},
		{
			MethodName: "SendReport",
			Handler:    _Ras_SendReport_Handler,
		},
		{
			MethodName: "SendKCMPubKeyCert",
			Handler:    _Ras_SendKCMPubKeyCert_Handler,
		},
		{
			MethodName: "VerifyKTAPubKeyCert",
			Handler:    _Ras_VerifyKTAPubKeyCert_Handler,
		},
		{
			MethodName: "KeyOperation",
			Handler:    _Ras_KeyOperation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "clientapi/api.proto",
}

Ras_ServiceDesc is the grpc.ServiceDesc for Ras service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRasServer

func RegisterRasServer(s grpc.ServiceRegistrar, srv RasServer)

Types

type ClientConfig

type ClientConfig struct {
	HbDurationSeconds    int64  `protobuf:"varint,1,opt,name=hbDurationSeconds,proto3" json:"hbDurationSeconds,omitempty"`
	TrustDurationSeconds int64  `protobuf:"varint,2,opt,name=trustDurationSeconds,proto3" json:"trustDurationSeconds,omitempty"`
	Nonce                uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	DigestAlgorithm      string `protobuf:"bytes,4,opt,name=digestAlgorithm,proto3" json:"digestAlgorithm,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientConfig) Descriptor deprecated

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

Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.

func (*ClientConfig) GetDigestAlgorithm

func (x *ClientConfig) GetDigestAlgorithm() string

func (*ClientConfig) GetHbDurationSeconds

func (x *ClientConfig) GetHbDurationSeconds() int64

func (*ClientConfig) GetNonce

func (x *ClientConfig) GetNonce() uint64

func (*ClientConfig) GetTrustDurationSeconds

func (x *ClientConfig) GetTrustDurationSeconds() int64

func (*ClientConfig) ProtoMessage

func (*ClientConfig) ProtoMessage()

func (*ClientConfig) ProtoReflect

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

func (*ClientConfig) Reset

func (x *ClientConfig) Reset()

func (*ClientConfig) String

func (x *ClientConfig) String() string

type GenerateEKCertReply

type GenerateEKCertReply struct {
	EkCert []byte `protobuf:"bytes,1,opt,name=ekCert,proto3" json:"ekCert,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateEKCertReply) Descriptor deprecated

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

Deprecated: Use GenerateEKCertReply.ProtoReflect.Descriptor instead.

func (*GenerateEKCertReply) GetEkCert

func (x *GenerateEKCertReply) GetEkCert() []byte

func (*GenerateEKCertReply) ProtoMessage

func (*GenerateEKCertReply) ProtoMessage()

func (*GenerateEKCertReply) ProtoReflect

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

func (*GenerateEKCertReply) Reset

func (x *GenerateEKCertReply) Reset()

func (*GenerateEKCertReply) String

func (x *GenerateEKCertReply) String() string

type GenerateEKCertRequest

type GenerateEKCertRequest struct {
	EkPub []byte `protobuf:"bytes,1,opt,name=ekPub,proto3" json:"ekPub,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateEKCertRequest) Descriptor deprecated

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

Deprecated: Use GenerateEKCertRequest.ProtoReflect.Descriptor instead.

func (*GenerateEKCertRequest) GetEkPub

func (x *GenerateEKCertRequest) GetEkPub() []byte

func (*GenerateEKCertRequest) ProtoMessage

func (*GenerateEKCertRequest) ProtoMessage()

func (*GenerateEKCertRequest) ProtoReflect

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

func (*GenerateEKCertRequest) Reset

func (x *GenerateEKCertRequest) Reset()

func (*GenerateEKCertRequest) String

func (x *GenerateEKCertRequest) String() string

type GenerateIKCertReply

type GenerateIKCertReply struct {
	EncryptedIC     []byte `protobuf:"bytes,1,opt,name=encryptedIC,proto3" json:"encryptedIC,omitempty"`
	CredBlob        []byte `protobuf:"bytes,2,opt,name=credBlob,proto3" json:"credBlob,omitempty"`
	EncryptedSecret []byte `protobuf:"bytes,3,opt,name=encryptedSecret,proto3" json:"encryptedSecret,omitempty"`
	EncryptAlg      string `protobuf:"bytes,4,opt,name=encryptAlg,proto3" json:"encryptAlg,omitempty"`
	EncryptParam    []byte `protobuf:"bytes,5,opt,name=encryptParam,proto3" json:"encryptParam,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateIKCertReply) Descriptor deprecated

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

Deprecated: Use GenerateIKCertReply.ProtoReflect.Descriptor instead.

func (*GenerateIKCertReply) GetCredBlob

func (x *GenerateIKCertReply) GetCredBlob() []byte

func (*GenerateIKCertReply) GetEncryptAlg

func (x *GenerateIKCertReply) GetEncryptAlg() string

func (*GenerateIKCertReply) GetEncryptParam

func (x *GenerateIKCertReply) GetEncryptParam() []byte

func (*GenerateIKCertReply) GetEncryptedIC

func (x *GenerateIKCertReply) GetEncryptedIC() []byte

func (*GenerateIKCertReply) GetEncryptedSecret

func (x *GenerateIKCertReply) GetEncryptedSecret() []byte

func (*GenerateIKCertReply) ProtoMessage

func (*GenerateIKCertReply) ProtoMessage()

func (*GenerateIKCertReply) ProtoReflect

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

func (*GenerateIKCertReply) Reset

func (x *GenerateIKCertReply) Reset()

func (*GenerateIKCertReply) String

func (x *GenerateIKCertReply) String() string

type GenerateIKCertRequest

type GenerateIKCertRequest struct {
	EkCert []byte `protobuf:"bytes,1,opt,name=ekCert,proto3" json:"ekCert,omitempty"`
	IkPub  []byte `protobuf:"bytes,2,opt,name=ikPub,proto3" json:"ikPub,omitempty"`
	IkName []byte `protobuf:"bytes,3,opt,name=ikName,proto3" json:"ikName,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateIKCertRequest) Descriptor deprecated

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

Deprecated: Use GenerateIKCertRequest.ProtoReflect.Descriptor instead.

func (*GenerateIKCertRequest) GetEkCert

func (x *GenerateIKCertRequest) GetEkCert() []byte

func (*GenerateIKCertRequest) GetIkName

func (x *GenerateIKCertRequest) GetIkName() []byte

func (*GenerateIKCertRequest) GetIkPub

func (x *GenerateIKCertRequest) GetIkPub() []byte

func (*GenerateIKCertRequest) ProtoMessage

func (*GenerateIKCertRequest) ProtoMessage()

func (*GenerateIKCertRequest) ProtoReflect

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

func (*GenerateIKCertRequest) Reset

func (x *GenerateIKCertRequest) Reset()

func (*GenerateIKCertRequest) String

func (x *GenerateIKCertRequest) String() string

type KeyOperationReply

type KeyOperationReply struct {
	Result        bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	EncRetMessage []byte `protobuf:"bytes,2,opt,name=encRetMessage,proto3" json:"encRetMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyOperationReply) Descriptor deprecated

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

Deprecated: Use KeyOperationReply.ProtoReflect.Descriptor instead.

func (*KeyOperationReply) GetEncRetMessage

func (x *KeyOperationReply) GetEncRetMessage() []byte

func (*KeyOperationReply) GetResult

func (x *KeyOperationReply) GetResult() bool

func (*KeyOperationReply) ProtoMessage

func (*KeyOperationReply) ProtoMessage()

func (*KeyOperationReply) ProtoReflect

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

func (*KeyOperationReply) Reset

func (x *KeyOperationReply) Reset()

func (*KeyOperationReply) String

func (x *KeyOperationReply) String() string

type KeyOperationRequest

type KeyOperationRequest struct {
	ClientId   int64  `protobuf:"varint,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	EncMessage []byte `protobuf:"bytes,2,opt,name=encMessage,proto3" json:"encMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyOperationRequest) Descriptor deprecated

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

Deprecated: Use KeyOperationRequest.ProtoReflect.Descriptor instead.

func (*KeyOperationRequest) GetClientId

func (x *KeyOperationRequest) GetClientId() int64

func (*KeyOperationRequest) GetEncMessage

func (x *KeyOperationRequest) GetEncMessage() []byte

func (*KeyOperationRequest) ProtoMessage

func (*KeyOperationRequest) ProtoMessage()

func (*KeyOperationRequest) ProtoReflect

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

func (*KeyOperationRequest) Reset

func (x *KeyOperationRequest) Reset()

func (*KeyOperationRequest) String

func (x *KeyOperationRequest) String() string

type Manifest

type Manifest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Manifest) Descriptor deprecated

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

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetKey

func (x *Manifest) GetKey() string

func (*Manifest) GetValue

func (x *Manifest) GetValue() []byte

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

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

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

type RasClient

RasClient is the client API for Ras 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 NewRasClient

func NewRasClient(cc grpc.ClientConnInterface) RasClient

type RasServer

RasServer is the server API for Ras service. All implementations must embed UnimplementedRasServer for forward compatibility

type RegisterClientReply

type RegisterClientReply struct {
	ClientId     int64         `protobuf:"varint,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	ClientConfig *ClientConfig `protobuf:"bytes,2,opt,name=clientConfig,proto3" json:"clientConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterClientReply) Descriptor deprecated

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

Deprecated: Use RegisterClientReply.ProtoReflect.Descriptor instead.

func (*RegisterClientReply) GetClientConfig

func (x *RegisterClientReply) GetClientConfig() *ClientConfig

func (*RegisterClientReply) GetClientId

func (x *RegisterClientReply) GetClientId() int64

func (*RegisterClientReply) ProtoMessage

func (*RegisterClientReply) ProtoMessage()

func (*RegisterClientReply) ProtoReflect

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

func (*RegisterClientReply) Reset

func (x *RegisterClientReply) Reset()

func (*RegisterClientReply) String

func (x *RegisterClientReply) String() string

type RegisterClientRequest

type RegisterClientRequest struct {
	Cert       []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
	ClientInfo string `protobuf:"bytes,2,opt,name=clientInfo,proto3" json:"clientInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterClientRequest) Descriptor deprecated

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

Deprecated: Use RegisterClientRequest.ProtoReflect.Descriptor instead.

func (*RegisterClientRequest) GetCert

func (x *RegisterClientRequest) GetCert() []byte

func (*RegisterClientRequest) GetClientInfo

func (x *RegisterClientRequest) GetClientInfo() string

func (*RegisterClientRequest) ProtoMessage

func (*RegisterClientRequest) ProtoMessage()

func (*RegisterClientRequest) ProtoReflect

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

func (*RegisterClientRequest) Reset

func (x *RegisterClientRequest) Reset()

func (*RegisterClientRequest) String

func (x *RegisterClientRequest) String() string

type SendHeartbeatReply

type SendHeartbeatReply struct {
	NextAction   uint64        `protobuf:"varint,1,opt,name=nextAction,proto3" json:"nextAction,omitempty"`
	ClientConfig *ClientConfig `protobuf:"bytes,3,opt,name=clientConfig,proto3" json:"clientConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*SendHeartbeatReply) Descriptor deprecated

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

Deprecated: Use SendHeartbeatReply.ProtoReflect.Descriptor instead.

func (*SendHeartbeatReply) GetClientConfig

func (x *SendHeartbeatReply) GetClientConfig() *ClientConfig

func (*SendHeartbeatReply) GetNextAction

func (x *SendHeartbeatReply) GetNextAction() uint64

func (*SendHeartbeatReply) ProtoMessage

func (*SendHeartbeatReply) ProtoMessage()

func (*SendHeartbeatReply) ProtoReflect

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

func (*SendHeartbeatReply) Reset

func (x *SendHeartbeatReply) Reset()

func (*SendHeartbeatReply) String

func (x *SendHeartbeatReply) String() string

type SendHeartbeatRequest

type SendHeartbeatRequest struct {
	ClientId int64 `protobuf:"varint,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	// contains filtered or unexported fields
}

func (*SendHeartbeatRequest) Descriptor deprecated

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

Deprecated: Use SendHeartbeatRequest.ProtoReflect.Descriptor instead.

func (*SendHeartbeatRequest) GetClientId

func (x *SendHeartbeatRequest) GetClientId() int64

func (*SendHeartbeatRequest) ProtoMessage

func (*SendHeartbeatRequest) ProtoMessage()

func (*SendHeartbeatRequest) ProtoReflect

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

func (*SendHeartbeatRequest) Reset

func (x *SendHeartbeatRequest) Reset()

func (*SendHeartbeatRequest) String

func (x *SendHeartbeatRequest) String() string

type SendKCMPubKeyCertReply

type SendKCMPubKeyCertReply struct {
	Result        bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	KcmPubKeyCert []byte `protobuf:"bytes,2,opt,name=kcmPubKeyCert,proto3" json:"kcmPubKeyCert,omitempty"`
	// contains filtered or unexported fields
}

func (*SendKCMPubKeyCertReply) Descriptor deprecated

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

Deprecated: Use SendKCMPubKeyCertReply.ProtoReflect.Descriptor instead.

func (*SendKCMPubKeyCertReply) GetKcmPubKeyCert

func (x *SendKCMPubKeyCertReply) GetKcmPubKeyCert() []byte

func (*SendKCMPubKeyCertReply) GetResult

func (x *SendKCMPubKeyCertReply) GetResult() bool

func (*SendKCMPubKeyCertReply) ProtoMessage

func (*SendKCMPubKeyCertReply) ProtoMessage()

func (*SendKCMPubKeyCertReply) ProtoReflect

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

func (*SendKCMPubKeyCertReply) Reset

func (x *SendKCMPubKeyCertReply) Reset()

func (*SendKCMPubKeyCertReply) String

func (x *SendKCMPubKeyCertReply) String() string

type SendKCMPubKeyCertRequest

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

func (*SendKCMPubKeyCertRequest) Descriptor deprecated

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

Deprecated: Use SendKCMPubKeyCertRequest.ProtoReflect.Descriptor instead.

func (*SendKCMPubKeyCertRequest) ProtoMessage

func (*SendKCMPubKeyCertRequest) ProtoMessage()

func (*SendKCMPubKeyCertRequest) ProtoReflect

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

func (*SendKCMPubKeyCertRequest) Reset

func (x *SendKCMPubKeyCertRequest) Reset()

func (*SendKCMPubKeyCertRequest) String

func (x *SendKCMPubKeyCertRequest) String() string

type SendReportReply

type SendReportReply struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*SendReportReply) Descriptor deprecated

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

Deprecated: Use SendReportReply.ProtoReflect.Descriptor instead.

func (*SendReportReply) GetResult

func (x *SendReportReply) GetResult() bool

func (*SendReportReply) ProtoMessage

func (*SendReportReply) ProtoMessage()

func (*SendReportReply) ProtoReflect

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

func (*SendReportReply) Reset

func (x *SendReportReply) Reset()

func (*SendReportReply) String

func (x *SendReportReply) String() string

type SendReportRequest

type SendReportRequest struct {
	ClientId   int64             `protobuf:"varint,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	Nonce      uint64            `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ClientInfo string            `protobuf:"bytes,3,opt,name=clientInfo,proto3" json:"clientInfo,omitempty"`
	Quoted     []byte            `protobuf:"bytes,4,opt,name=quoted,proto3" json:"quoted,omitempty"`
	Signature  []byte            `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	Manifests  []*Manifest       `protobuf:"bytes,6,rep,name=manifests,proto3" json:"manifests,omitempty"`
	TaReports  map[string][]byte `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SendReportRequest) Descriptor deprecated

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

Deprecated: Use SendReportRequest.ProtoReflect.Descriptor instead.

func (*SendReportRequest) GetClientId

func (x *SendReportRequest) GetClientId() int64

func (*SendReportRequest) GetClientInfo

func (x *SendReportRequest) GetClientInfo() string

func (*SendReportRequest) GetManifests

func (x *SendReportRequest) GetManifests() []*Manifest

func (*SendReportRequest) GetNonce

func (x *SendReportRequest) GetNonce() uint64

func (*SendReportRequest) GetQuoted

func (x *SendReportRequest) GetQuoted() []byte

func (*SendReportRequest) GetSignature

func (x *SendReportRequest) GetSignature() []byte

func (*SendReportRequest) GetTaReports

func (x *SendReportRequest) GetTaReports() map[string][]byte

func (*SendReportRequest) ProtoMessage

func (*SendReportRequest) ProtoMessage()

func (*SendReportRequest) ProtoReflect

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

func (*SendReportRequest) Reset

func (x *SendReportRequest) Reset()

func (*SendReportRequest) String

func (x *SendReportRequest) String() string

type UnimplementedRasServer

type UnimplementedRasServer struct {
}

UnimplementedRasServer must be embedded to have forward compatible implementations.

func (UnimplementedRasServer) GenerateEKCert

func (UnimplementedRasServer) GenerateIKCert

func (UnimplementedRasServer) KeyOperation

func (UnimplementedRasServer) RegisterClient

func (UnimplementedRasServer) SendHeartbeat

func (UnimplementedRasServer) SendKCMPubKeyCert

func (UnimplementedRasServer) SendReport

func (UnimplementedRasServer) UnregisterClient

type UnregisterClientReply

type UnregisterClientReply struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*UnregisterClientReply) Descriptor deprecated

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

Deprecated: Use UnregisterClientReply.ProtoReflect.Descriptor instead.

func (*UnregisterClientReply) GetResult

func (x *UnregisterClientReply) GetResult() bool

func (*UnregisterClientReply) ProtoMessage

func (*UnregisterClientReply) ProtoMessage()

func (*UnregisterClientReply) ProtoReflect

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

func (*UnregisterClientReply) Reset

func (x *UnregisterClientReply) Reset()

func (*UnregisterClientReply) String

func (x *UnregisterClientReply) String() string

type UnregisterClientRequest

type UnregisterClientRequest struct {
	ClientId int64 `protobuf:"varint,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	// contains filtered or unexported fields
}

func (*UnregisterClientRequest) Descriptor deprecated

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

Deprecated: Use UnregisterClientRequest.ProtoReflect.Descriptor instead.

func (*UnregisterClientRequest) GetClientId

func (x *UnregisterClientRequest) GetClientId() int64

func (*UnregisterClientRequest) ProtoMessage

func (*UnregisterClientRequest) ProtoMessage()

func (*UnregisterClientRequest) ProtoReflect

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

func (*UnregisterClientRequest) Reset

func (x *UnregisterClientRequest) Reset()

func (*UnregisterClientRequest) String

func (x *UnregisterClientRequest) String() string

type UnsafeRasServer

type UnsafeRasServer interface {
	// contains filtered or unexported methods
}

UnsafeRasServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RasServer will result in compilation errors.

type VerifyKTAPubKeyCertReply

type VerifyKTAPubKeyCertReply struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyKTAPubKeyCertReply) Descriptor deprecated

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

Deprecated: Use VerifyKTAPubKeyCertReply.ProtoReflect.Descriptor instead.

func (*VerifyKTAPubKeyCertReply) GetResult

func (x *VerifyKTAPubKeyCertReply) GetResult() bool

func (*VerifyKTAPubKeyCertReply) ProtoMessage

func (*VerifyKTAPubKeyCertReply) ProtoMessage()

func (*VerifyKTAPubKeyCertReply) ProtoReflect

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

func (*VerifyKTAPubKeyCertReply) Reset

func (x *VerifyKTAPubKeyCertReply) Reset()

func (*VerifyKTAPubKeyCertReply) String

func (x *VerifyKTAPubKeyCertReply) String() string

type VerifyKTAPubKeyCertRequest

type VerifyKTAPubKeyCertRequest struct {
	ClientId      int64  `protobuf:"varint,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	KtaPubKeyCert []byte `protobuf:"bytes,2,opt,name=ktaPubKeyCert,proto3" json:"ktaPubKeyCert,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyKTAPubKeyCertRequest) Descriptor deprecated

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

Deprecated: Use VerifyKTAPubKeyCertRequest.ProtoReflect.Descriptor instead.

func (*VerifyKTAPubKeyCertRequest) GetClientId

func (x *VerifyKTAPubKeyCertRequest) GetClientId() int64

func (*VerifyKTAPubKeyCertRequest) GetKtaPubKeyCert

func (x *VerifyKTAPubKeyCertRequest) GetKtaPubKeyCert() []byte

func (*VerifyKTAPubKeyCertRequest) ProtoMessage

func (*VerifyKTAPubKeyCertRequest) ProtoMessage()

func (*VerifyKTAPubKeyCertRequest) ProtoReflect

func (*VerifyKTAPubKeyCertRequest) Reset

func (x *VerifyKTAPubKeyCertRequest) Reset()

func (*VerifyKTAPubKeyCertRequest) String

func (x *VerifyKTAPubKeyCertRequest) String() string

Directories

Path Synopsis
clientapi package implements the grpc communication between rac and ras.
clientapi package implements the grpc communication between rac and ras.
clientapi package implements the grpc communication between rac and ras.
clientapi package implements the grpc communication between rac and ras.

Jump to

Keyboard shortcuts

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