Documentation ¶
Index ¶
- func CheckIcon(err error)
- func ConvertKeys(recipientPubKey string, senderPubKey string, senderPrivKey string) (*X25519.PublicKey, *X25519.PublicKey, *X25519.PrivateKey, error)
- func MakeImageResource(name string, path string) (*fyne.StaticResource, error)
- type CertificateHandler
- type Config
- type DatabaseDAO
- func (dao *DatabaseDAO) AddCertificateEntry(uuid string, signature string, signer string)
- func (dao *DatabaseDAO) AddSecretEntry(uuid string, recipientPrivateKey string)
- func (dao *DatabaseDAO) GetSecretDecryptingKey(uuid string) string
- func (dao *DatabaseDAO) GetSignatureAndSigner(uuid string) ([]byte, []byte, error)
- func (dao *DatabaseDAO) RemoveCertificate(uuid string)
- func (dao *DatabaseDAO) RemoveSecret(uuid string)
- func (dao *DatabaseDAO) UpdateCertificateOptions() []string
- func (dao *DatabaseDAO) UpdateSecretOptions() []string
- type SecretHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertKeys ¶
func MakeImageResource ¶
func MakeImageResource(name string, path string) (*fyne.StaticResource, error)
Types ¶
type CertificateHandler ¶
func (*CertificateHandler) GetCertificatePreview ¶
func (certHandler *CertificateHandler) GetCertificatePreview() (string, error)
func (*CertificateHandler) RetrieveCertificate ¶
func (certHandler *CertificateHandler) RetrieveCertificate() (string, error)
func (*CertificateHandler) SendCertificate ¶
func (certHandler *CertificateHandler) SendCertificate() (*entityApi.TransactionStatus, error)
type DatabaseDAO ¶
func InitDb ¶
func InitDb() DatabaseDAO
func (*DatabaseDAO) AddCertificateEntry ¶
func (dao *DatabaseDAO) AddCertificateEntry(uuid string, signature string, signer string)
func (*DatabaseDAO) AddSecretEntry ¶
func (dao *DatabaseDAO) AddSecretEntry(uuid string, recipientPrivateKey string)
func (*DatabaseDAO) GetSecretDecryptingKey ¶
func (dao *DatabaseDAO) GetSecretDecryptingKey(uuid string) string
func (*DatabaseDAO) GetSignatureAndSigner ¶
func (dao *DatabaseDAO) GetSignatureAndSigner(uuid string) ([]byte, []byte, error)
func (*DatabaseDAO) RemoveCertificate ¶
func (dao *DatabaseDAO) RemoveCertificate(uuid string)
func (*DatabaseDAO) RemoveSecret ¶
func (dao *DatabaseDAO) RemoveSecret(uuid string)
func (*DatabaseDAO) UpdateCertificateOptions ¶
func (dao *DatabaseDAO) UpdateCertificateOptions() []string
func (*DatabaseDAO) UpdateSecretOptions ¶
func (dao *DatabaseDAO) UpdateSecretOptions() []string
type SecretHandler ¶
type SecretHandler struct { Config UuidText string Content []byte RecipientPubKey *X25519.PublicKey SenderPubKey *X25519.PublicKey SenderPrivKey *X25519.PrivateKey }
func (*SecretHandler) GetSecretPreview ¶
func (secHandler *SecretHandler) GetSecretPreview() (string, error)
func (*SecretHandler) SendSecret ¶
func (secHandler *SecretHandler) SendSecret() (*entityApi.TransactionStatus, error)
Click to show internal directories.
Click to hide internal directories.