keyutils

package
v0.0.0-...-86bf689 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyFingerprint

func KeyFingerprint(private *rsa.PrivateKey) (string, error)

func ParsePrivateKey

func ParsePrivateKey(key []byte) (*rsa.PrivateKey, error)

func ValidateFingerprintSha1

func ValidateFingerprintSha1(fingerprint string) error

Types

type BadOctetCount

type BadOctetCount struct {
	Octets   int
	Expected int
}

func (*BadOctetCount) Error

func (e *BadOctetCount) Error() string

type InvalidOctet

type InvalidOctet struct {
	Octet   string
	Pos     int
	Message string
}

func (*InvalidOctet) Error

func (e *InvalidOctet) Error() string

type InvalidRune

type InvalidRune struct {
	C   rune
	Pos int
}

func (*InvalidRune) Error

func (e *InvalidRune) Error() string

type UnparseableKey

type UnparseableKey struct {
	Key     []byte
	Message string
}

func (*UnparseableKey) Error

func (e *UnparseableKey) Error() string

Jump to

Keyboard shortcuts

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