fschash

package module
v0.0.0-...-06e5099 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: EUPL-1.2 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateContractContentHash

func GenerateContractContentHash(args *ContractContentArgs) (string, error)

func GenerateDelegatedServiceConnectionGrantHash

func GenerateDelegatedServiceConnectionGrantHash(args *DelegatedServiceConnectionGrantArgs) (string, error)

func GenerateDelegatedServicePublicationGrantHash

func GenerateDelegatedServicePublicationGrantHash(args *DelegatedServicePublicationGrantArgs) (string, error)

func GenerateServiceConnectionGrantHash

func GenerateServiceConnectionGrantHash(args *ServiceConnectionGrantArgs) (string, error)

func GenerateServicePublicationGrantHash

func GenerateServicePublicationGrantHash(args *ServicePublicationGrantArgs) (string, error)

Types

type ContractContentArgs

type ContractContentArgs struct {
	FSCVersion     string
	IV             string
	GroupID        string
	HashAlgorithm  int32
	ValidNotBefore int64
	ValidNotAfter  int64
	Grants         []interface{}
	CreatedAt      int64
}

type ContractContentDelegatedServiceConnectionGrantArgs

type ContractContentDelegatedServiceConnectionGrantArgs struct {
	DelegatorPeerID                   string
	OutwayPeerID                      string
	OutwayPublicKeyThumbprint         string
	OutwayDomainName                  string
	ServicePeerID                     string
	ServiceName                       string
	ServicePublicationDelegatorPeerID *string
	Properties                        *map[string]any
}

type ContractContentDelegatedServicePublicationGrantArgs

type ContractContentDelegatedServicePublicationGrantArgs struct {
	DelegatorPeerID string
	DirectoryPeerID string
	ServicePeerID   string
	ServiceName     string
	ServiceProtocol string
	Properties      *map[string]any
}

type ContractContentServiceConnectionGrantArgs

type ContractContentServiceConnectionGrantArgs struct {
	OutwayPeerID                      string
	OutwayPublicKeyThumbprint         string
	OutwayDomainName                  string
	ServicePeerID                     string
	ServiceName                       string
	ServicePublicationDelegatorPeerID *string
	Properties                        *map[string]any
}

type ContractContentServicePublicationGrantArgs

type ContractContentServicePublicationGrantArgs struct {
	DirectoryPeerID string
	ServicePeerID   string
	ServiceName     string
	ServiceProtocol string
	Properties      *map[string]any
}

type DelegatedServiceConnectionGrantArgs

type DelegatedServiceConnectionGrantArgs struct {
	ContractContentHash               string
	ContractHashAlgorithm             int32
	DelegatorPeerID                   string
	OutwayPeerID                      string
	OutwayPublicKeyThumbprint         string
	OutwayDomainName                  string
	ServicePeerID                     string
	ServiceName                       string
	ServicePublicationDelegatorPeerID *string
	Properties                        *map[string]any
}

type DelegatedServicePublicationGrantArgs

type DelegatedServicePublicationGrantArgs struct {
	ContractContentHash   string
	ContractHashAlgorithm int32
	DelegatorPeerID       string
	DirectoryPeerID       string
	ServicePeerID         string
	ServiceName           string
	ServiceProtocol       string
	Properties            *map[string]any
}

type ServiceConnectionGrantArgs

type ServiceConnectionGrantArgs struct {
	ContractContentHash               string
	ContractHashAlgorithm             int32
	OutwayPeerID                      string
	OutwayPublicKeyThumbprint         string
	OutwayDomainName                  string
	ServicePeerID                     string
	ServiceName                       string
	ServicePublicationDelegatorPeerID *string
	Properties                        *map[string]any
}

type ServicePublicationGrantArgs

type ServicePublicationGrantArgs struct {
	ContractContentHash   string
	ContractHashAlgorithm int32
	DirectoryPeerID       string
	ServicePeerID         string
	ServiceName           string
	ServiceProtocol       string
	Properties            *map[string]any
}

Jump to

Keyboard shortcuts

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