tcl

package
v0.0.0-...-ce5cb77 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: EUPL-1.2 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	ClientPrK  util.Jwk
	ClientPuK  util.Jwk
	MtlsPrK    *ecdsa.PrivateKey `json:"-"`
	MtlsPrKRaw []byte
	MtlsCer    *x509.Certificate `json:"-"`
	MtlsCerRaw []byte
	ClientID   string
}

type RegistrationRequest

type RegistrationRequest struct {
	Name     string      `json:"name"`
	Platform string      `json:"platform"`
	Posture  interface{} `json:"posture"`
	Csr      []byte      `json:"csr"`
}

type SoftwareClient

type SoftwareClient struct {
	Name   string
	RegURL string
	// contains filtered or unexported fields
}

func NewSoftwareClient

func NewSoftwareClient(name string, regBaseURL string, idpath string) (*SoftwareClient, error)

func (*SoftwareClient) CreateRegistration

func (c *SoftwareClient) CreateRegistration() (*regapi.RegistrationResponse, error)

func (*SoftwareClient) GetNonce

func (c *SoftwareClient) GetNonce() (string, error)

func (*SoftwareClient) GetRegistration

func (c *SoftwareClient) GetRegistration() (*regapi.RegistrationResponse, error)

type SoftwareClientPosture

type SoftwareClientPosture struct {
	OS        string `json:"os"`
	OSVersion string `json:"os_version"`
	Arch      string `json:"arch"`
}

Jump to

Keyboard shortcuts

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