Documentation
¶
Overview ¶
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
package github.com/HPInc/krypton-dsts/service/rpc Author: Mahesh Unnikrishnan Component: Krypton Device Security Token Service (C) HP Development Company, LP
Index ¶
- Constants
- func Init(logger *zap.Logger, cfgMgr *config.ConfigMgr) error
- type DeviceSTSServer
- func (s *DeviceSTSServer) AuthenticateApp(ctx context.Context, request *pb.AppAuthenticationRequest) (*pb.AppAuthenticationResponse, error)
- func (s *DeviceSTSServer) CreateDevice(ctx context.Context, request *pb.CreateDeviceRequest) (*pb.CreateDeviceResponse, error)
- func (s *DeviceSTSServer) CreateEnrollmentToken(ctx context.Context, request *pb.CreateEnrollmentTokenRequest) (*pb.CreateEnrollmentTokenResponse, error)
- func (s *DeviceSTSServer) DeleteDevice(ctx context.Context, request *pb.DeleteDeviceRequest) (*pb.DeleteDeviceResponse, error)
- func (s *DeviceSTSServer) DeleteEnrollmentToken(ctx context.Context, request *pb.DeleteEnrollmentTokenRequest) (*pb.DeleteEnrollmentTokenResponse, error)
- func (s *DeviceSTSServer) GetAppAuthenticationChallenge(ctx context.Context, request *pb.AppAuthenticationChallengeRequest) (*pb.AppAuthenticationChallengeResponse, error)
- func (s *DeviceSTSServer) GetDevice(ctx context.Context, request *pb.GetDeviceRequest) (*pb.GetDeviceResponse, error)
- func (s *DeviceSTSServer) GetEnrollmentToken(ctx context.Context, request *pb.GetEnrollmentTokenRequest) (*pb.GetEnrollmentTokenResponse, error)
- func (s *DeviceSTSServer) GetSigningKey(ctx context.Context, request *pb.GetSigningKeyRequest) (*pb.GetSigningKeyResponse, error)
- func (s *DeviceSTSServer) ListDevices(ctx context.Context, request *pb.ListDevicesRequest) (*pb.ListDevicesResponse, error)
- func (s *DeviceSTSServer) NewServer() error
- func (s *DeviceSTSServer) Ping(ctx context.Context, request *pb.PingRequest) (*pb.PingResponse, error)
- func (s *DeviceSTSServer) UpdateDevice(ctx context.Context, request *pb.UpdateDeviceRequest) (*pb.UpdateDeviceResponse, error)
- func (s *DeviceSTSServer) ValidateEnrollmentToken(ctx context.Context, request *pb.ValidateEnrollmentTokenRequest) (*pb.ValidateEnrollmentTokenResponse, error)
Constants ¶
const (
// DstsProtocolVersion - version of the DSTS' gRPC protocol.
DstsProtocolVersion = "v1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeviceSTSServer ¶
type DeviceSTSServer struct {
pb.UnimplementedDeviceSTSServer
// contains filtered or unexported fields
}
DeviceSTSServer - Connection and other state information for the Device STS.
func (*DeviceSTSServer) AuthenticateApp ¶
func (s *DeviceSTSServer) AuthenticateApp(ctx context.Context, request *pb.AppAuthenticationRequest) (*pb.AppAuthenticationResponse, error)
func (*DeviceSTSServer) CreateDevice ¶
func (s *DeviceSTSServer) CreateDevice(ctx context.Context, request *pb.CreateDeviceRequest) (*pb.CreateDeviceResponse, error)
func (*DeviceSTSServer) CreateEnrollmentToken ¶
func (s *DeviceSTSServer) CreateEnrollmentToken(ctx context.Context, request *pb.CreateEnrollmentTokenRequest) (*pb.CreateEnrollmentTokenResponse, error)
func (*DeviceSTSServer) DeleteDevice ¶
func (s *DeviceSTSServer) DeleteDevice(ctx context.Context, request *pb.DeleteDeviceRequest) (*pb.DeleteDeviceResponse, error)
func (*DeviceSTSServer) DeleteEnrollmentToken ¶
func (s *DeviceSTSServer) DeleteEnrollmentToken(ctx context.Context, request *pb.DeleteEnrollmentTokenRequest) (*pb.DeleteEnrollmentTokenResponse, error)
func (*DeviceSTSServer) GetAppAuthenticationChallenge ¶
func (s *DeviceSTSServer) GetAppAuthenticationChallenge(ctx context.Context, request *pb.AppAuthenticationChallengeRequest) (*pb.AppAuthenticationChallengeResponse, error)
func (*DeviceSTSServer) GetDevice ¶
func (s *DeviceSTSServer) GetDevice(ctx context.Context, request *pb.GetDeviceRequest) (*pb.GetDeviceResponse, error)
func (*DeviceSTSServer) GetEnrollmentToken ¶
func (s *DeviceSTSServer) GetEnrollmentToken(ctx context.Context, request *pb.GetEnrollmentTokenRequest) (*pb.GetEnrollmentTokenResponse, error)
func (*DeviceSTSServer) GetSigningKey ¶
func (s *DeviceSTSServer) GetSigningKey(ctx context.Context, request *pb.GetSigningKeyRequest) (*pb.GetSigningKeyResponse, error)
func (*DeviceSTSServer) ListDevices ¶
func (s *DeviceSTSServer) ListDevices(ctx context.Context, request *pb.ListDevicesRequest) (*pb.ListDevicesResponse, error)
func (*DeviceSTSServer) NewServer ¶
func (s *DeviceSTSServer) NewServer() error
func (*DeviceSTSServer) Ping ¶
func (s *DeviceSTSServer) Ping(ctx context.Context, request *pb.PingRequest) (*pb.PingResponse, error)
func (*DeviceSTSServer) UpdateDevice ¶
func (s *DeviceSTSServer) UpdateDevice(ctx context.Context, request *pb.UpdateDeviceRequest) (*pb.UpdateDeviceResponse, error)
func (*DeviceSTSServer) ValidateEnrollmentToken ¶
func (s *DeviceSTSServer) ValidateEnrollmentToken(ctx context.Context, request *pb.ValidateEnrollmentTokenRequest) (*pb.ValidateEnrollmentTokenResponse, error)