errors

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyError

type KeyError string
const (
	ErrInvalidManagementKey KeyError = "invalid management key"
	ErrInvalidSigningKey    KeyError = "invalid signing key"
	ErrInvalidDecryptionKey KeyError = "invalid decryption key"
	ErrUnsupportedAlgorithm KeyError = "unsupported algorithm"
)

func (KeyError) Error

func (e KeyError) Error() string

type KeystoreError

type KeystoreError string
const (
	ErrInvalidKeySlot                 KeystoreError = "invalid key slot"
	ErrUnsupportedAlgorithmForKeySlot KeystoreError = "unsupported algorithm for key slot"
	ErrExportNotAllowed               KeystoreError = "export not allowed"
	ErrImportNotAllowed               KeystoreError = "import not allowed"
	ErrKeyAlreadyExists               KeystoreError = "key already exists"
	ErrKeyNotFound                    KeystoreError = "key not found"
	ErrFileAlreadyExists              KeystoreError = "file already exists"
	ErrCertAlreadyExists              KeystoreError = "certificate already exists"
	ErrCertNotFound                   KeystoreError = "cert not found"
	ErrUnableToOpenKeystore           KeystoreError = "unable to open keystore"
	ErrKeystoreLocked                 KeystoreError = "keystore is locked"
	ErrKeystoreHandleClosed           KeystoreError = "keystore handle is closed"
	ErrKeystoreNotfound               KeystoreError = "keystore not found"
	ErrResetNotAllowed                KeystoreError = "reset not allowed"
	ErrKeyGenFailed                   KeystoreError = "key generation failed"
)

func (KeystoreError) Error

func (e KeystoreError) Error() string

Jump to

Keyboard shortcuts

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