implementations

package
v0.0.0-...-978d0fb Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(device accounts.Wallet) interfaces.ISigner

func NewCloudSharing

func NewCloudSharing() interfaces.ISharing

func NewDocumentService

func NewDocumentService() interfaces.DocumentService

func NewFilePicker

func NewFilePicker() interfaces.IFilePicker

func NewHTTPClient

func NewHTTPClient(timeout time.Duration) interfaces.IHTTPClient

func NewHTTPClientFromClient

func NewHTTPClientFromClient(client *http.Client) interfaces.IHTTPClient

func NewSigners

func NewSigners() interfaces.ISigners

func NewVerificationService

func NewVerificationService() interfaces.VerificationService

Types

type BISSSigner

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

func DiscoverBISSSigner

func DiscoverBISSSigner() (*BISSSigner, error)

func DiscoverBISSSignerWithClient

func DiscoverBISSSignerWithClient(client interfaces.IHTTPClient) (*BISSSigner, error)

func NewBISSSigner

func NewBISSSigner(baseURL string, client interfaces.IHTTPClient) *BISSSigner

func (*BISSSigner) Method

func (b *BISSSigner) Method() string

func (*BISSSigner) Name

func (b *BISSSigner) Name() *string

func (*BISSSigner) Sign

func (b *BISSSigner) Sign(payload *[]byte) (*string, error)

func (*BISSSigner) Type

func (b *BISSSigner) Type() (*enums.SigantureType, error)

type CloudSharing

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

func (*CloudSharing) Share

func (s *CloudSharing) Share(data []byte) (string, error)

type FilePicker

type FilePicker struct{}

func (FilePicker) InitialDir

func (p FilePicker) InitialDir() (string, error)

func (FilePicker) List

type HTTPClient

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

func (*HTTPClient) Delete

func (c *HTTPClient) Delete(url string, out any) error

func (*HTTPClient) Get

func (c *HTTPClient) Get(url string, out any) error

func (*HTTPClient) Post

func (c *HTTPClient) Post(url string, body any, out any) error

func (*HTTPClient) Put

func (c *HTTPClient) Put(url string, body any, out any) error

type Ledger

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

func (*Ledger) Method

func (l *Ledger) Method() string

func (*Ledger) Name

func (l *Ledger) Name() *string

func (*Ledger) Sign

func (l *Ledger) Sign(payload *[]byte) (*string, error)

func (*Ledger) Type

func (l *Ledger) Type() (*enums.SigantureType, error)

type Logger

type Logger struct{}

func NewLogger

func NewLogger(path string) (*Logger, error)

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) Logs

func (l *Logger) Logs() []string

func (*Logger) Write

func (l *Logger) Write(p []byte) (n int, err error)

type SignerGenerator

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

func NewSignerGenerator

func NewSignerGenerator() *SignerGenerator

func (*SignerGenerator) GenerateCertificate

func (g *SignerGenerator) GenerateCertificate(opts types.CertificateOptions) (*types.GeneratedCertificate, error)

func (*SignerGenerator) GenerateKey

func (g *SignerGenerator) GenerateKey(name string) (*types.GeneratedKey, error)

type Signers

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

func (*Signers) GetBTrustSigners

func (s *Signers) GetBTrustSigners() (*[]interfaces.ISigner, error)

func (*Signers) GetCertificates

func (s *Signers) GetCertificates() (*[]interfaces.ISigner, error)

func (*Signers) GetHardwareWallets

func (s *Signers) GetHardwareWallets() (*[]interfaces.ISigner, error)

func (*Signers) GetSigningKeys

func (s *Signers) GetSigningKeys() (*[]interfaces.ISigner, error)

Source Files

  • biss.go
  • document_service.go
  • file_picker.go
  • file_picker_linux.go
  • http_client.go
  • ledger.go
  • logger.go
  • sharing.go
  • signer_generator.go
  • signers.go
  • verification_service.go

Jump to

Keyboard shortcuts

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