Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateRepository ¶
type CertificateRepository struct {
// contains filtered or unexported fields
}
func NewCertificateRepository ¶
func NewCertificateRepository() *CertificateRepository
func NewCertificateRepositoryWithDependencies ¶
func NewCertificateRepositoryWithDependencies(fileLookup IFileLookup, imports *ImportedFileStore) *CertificateRepository
func NewCertificateRepositoryWithFileLookup ¶
func NewCertificateRepositoryWithFileLookup(fileLookup IFileLookup) *CertificateRepository
func (*CertificateRepository) FindAll ¶
func (r *CertificateRepository) FindAll() (*[]interfaces.ISigner, error)
func (*CertificateRepository) Import ¶
func (r *CertificateRepository) Import(name string, path string) error
type CertificateSigner ¶
type CertificateSigner struct {
// contains filtered or unexported fields
}
func (*CertificateSigner) Method ¶
func (c *CertificateSigner) Method() string
func (*CertificateSigner) Name ¶
func (c *CertificateSigner) Name() *string
func (*CertificateSigner) Sign ¶
func (c *CertificateSigner) Sign(payload *[]byte) (*string, error)
func (*CertificateSigner) SourcePath ¶
func (c *CertificateSigner) SourcePath() string
func (*CertificateSigner) Type ¶
func (c *CertificateSigner) Type() (*enums.SigantureType, error)
type FileLookupQuery ¶
type IFileLookup ¶
type IFileLookup interface {
Lookup(query FileLookupQuery) ([]string, error)
}
func NewDefaultFileLookup ¶
func NewDefaultFileLookup() IFileLookup
func NewFileLookupForRoots ¶
func NewFileLookupForRoots(roots ...string) IFileLookup
type ImportedFile ¶
type ImportedFileStore ¶
type ImportedFileStore struct {
// contains filtered or unexported fields
}
func NewImportedFileStore ¶
func NewImportedFileStore() (*ImportedFileStore, error)
func NewImportedFileStoreAt ¶
func NewImportedFileStoreAt(path string) *ImportedFileStore
func (*ImportedFileStore) FindAll ¶
func (s *ImportedFileStore) FindAll() ([]ImportedFile, error)
func (*ImportedFileStore) Save ¶
func (s *ImportedFileStore) Save(file ImportedFile) error
type SignDialogFilterStore ¶
type SignDialogFilterStore struct {
// contains filtered or unexported fields
}
func NewSignDialogFilterStore ¶
func NewSignDialogFilterStore() (*SignDialogFilterStore, error)
func NewSignDialogFilterStoreAt ¶
func NewSignDialogFilterStoreAt(path string) *SignDialogFilterStore
func (*SignDialogFilterStore) Find ¶
func (s *SignDialogFilterStore) Find() ([3]bool, error)
func (*SignDialogFilterStore) Save ¶
func (s *SignDialogFilterStore) Save(hidden [3]bool) error
type SigningKey ¶
type SigningKey struct {
// contains filtered or unexported fields
}
func (*SigningKey) Method ¶
func (k *SigningKey) Method() string
func (*SigningKey) Name ¶
func (k *SigningKey) Name() *string
func (*SigningKey) Sign ¶
func (k *SigningKey) Sign(payload *[]byte) (*string, error)
func (*SigningKey) SourcePath ¶
func (k *SigningKey) SourcePath() string
func (*SigningKey) Type ¶
func (k *SigningKey) Type() (*enums.SigantureType, error)
type SigningKeyRepository ¶
type SigningKeyRepository struct {
// contains filtered or unexported fields
}
func NewSigningKeyRepository ¶
func NewSigningKeyRepository() *SigningKeyRepository
func NewSigningKeyRepositoryWithDependencies ¶
func NewSigningKeyRepositoryWithDependencies(fileLookup IFileLookup, imports *ImportedFileStore) *SigningKeyRepository
func NewSigningKeyRepositoryWithFileLookup ¶
func NewSigningKeyRepositoryWithFileLookup(fileLookup IFileLookup) *SigningKeyRepository
func (*SigningKeyRepository) FindAll ¶
func (r *SigningKeyRepository) FindAll() (*[]interfaces.ISigner, error)
func (*SigningKeyRepository) Import ¶
func (r *SigningKeyRepository) Import(name string, path string) error
Source Files
¶
- certificate.go
- file_lookup.go
- imported_files.go
- linux.go
- mac.go
- sign_dialog_filters.go
- signing_key.go
- windows.go
Click to show internal directories.
Click to hide internal directories.