Documentation
¶
Index ¶
- func New(device accounts.Wallet) interfaces.ISigner
- func NewCloudSharing() interfaces.ISharing
- func NewDocumentService() interfaces.DocumentService
- func NewFilePicker() interfaces.IFilePicker
- func NewHTTPClient(timeout time.Duration) interfaces.IHTTPClient
- func NewHTTPClientFromClient(client *http.Client) interfaces.IHTTPClient
- func NewSigners() interfaces.ISigners
- func NewVerificationService() interfaces.VerificationService
- type BISSSigner
- type CloudSharing
- type FilePicker
- type HTTPClient
- type Ledger
- type Logger
- type SignerGenerator
- type Signers
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 ¶
func (p FilePicker) List(dir string, mode interfaces.FilePickerMode) ([]interfaces.FilePickerEntry, error)
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
type Ledger ¶
type Ledger struct {
// contains filtered or unexported fields
}
func (*Ledger) Type ¶
func (l *Ledger) Type() (*enums.SigantureType, error)
type Logger ¶
type Logger struct{}
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
Click to show internal directories.
Click to hide internal directories.