Documentation ¶
Index ¶
- type Client
- func (l *Client) Delete(keyName, cipherText string) error
- func (l *Client) GetClearText(keyName, secretBlob string) (string, error)
- func (l *Client) GetEncryptedText(keyName, clearText string) (string, error)
- func (l *Client) Sign(keyName, clearText string) (string, error)
- func (l *Client) VerifySignature(keyName, signature, message string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements the backend client interface
func NewLocalKey ¶
NewLocalKey initializes a new local key
func (*Client) GetClearText ¶
GetClearText localkey Client
func (*Client) GetEncryptedText ¶
GetEncryptedText localkey Client just returns the clearText
Click to show internal directories.
Click to hide internal directories.