privkey

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPrivateKey = &SAppError{"invalid private key"}
	ErrReadPrivateKey    = &SAppError{"read private key"}
	ErrWritePrivateKey   = &SAppError{"write private key"}
	ErrSizePrivateKey    = &SAppError{"size private key"}
)

Functions

func GetPrivKey

func GetPrivKey(pKeyPath string) (asymmetric.IPrivKey, error)

Types

type SAppError

type SAppError struct {
	// contains filtered or unexported fields
}

func (*SAppError) Error

func (err *SAppError) Error() string

Jump to

Keyboard shortcuts

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