none

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{}

Client is the stuct implementing the backend client interface

func (*Client) Delete added in v0.1.0

func (n *Client) Delete(keyName, cipherText string) error

Delete No Op, not stored.

func (*Client) GetClearText

func (n *Client) GetClearText(keyName, cipherText string) (string, error)

GetClearText None Client just returns the cipherText

func (*Client) GetEncryptedText

func (n *Client) GetEncryptedText(keyName, clearText string) (string, error)

GetEncryptedText None Client just returns the clearText

func (*Client) Sign

func (n *Client) Sign(keyName, clearText string) (string, error)

Sign signs the message

func (*Client) VerifySignature

func (n *Client) VerifySignature(keyName, signature, message string) (bool, error)

VerifySignature verifies the signature created by the key

Jump to

Keyboard shortcuts

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