Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorisedKey ¶
type AuthorisedKey struct {
U2FKeyHandle, PublicKeyHash []byte
}
func DecodeString ¶
func DecodeString(str string) (AuthorisedKey, error)
func (AuthorisedKey) AppendKeyfile ¶
func (a AuthorisedKey) AppendKeyfile(filename string) error
func (AuthorisedKey) Decrypt ¶
func (a AuthorisedKey) Decrypt(password string) (AuthorisedKey, error)
func (AuthorisedKey) Encrypt ¶
func (a AuthorisedKey) Encrypt(password string) (AuthorisedKey, error)
func (AuthorisedKey) KeyHandle ¶
func (a AuthorisedKey) KeyHandle() u2fhost.KeyHandle
KeyHandler interface
func (AuthorisedKey) String ¶
func (a AuthorisedKey) String() string
type AuthorisedKeys ¶
type AuthorisedKeys []AuthorisedKey
func LoadKeyfile ¶
func LoadKeyfile(filename string) (AuthorisedKeys, error)
func (AuthorisedKeys) Decrypt ¶
func (aks AuthorisedKeys) Decrypt(password string) (AuthorisedKeys, error)
func (AuthorisedKeys) KeyHandlers ¶
func (aks AuthorisedKeys) KeyHandlers() []u2fhost.KeyHandler
Click to show internal directories.
Click to hide internal directories.