Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrInvalidPrivateKey ¶
type ErrInvalidPrivateKey struct {
// contains filtered or unexported fields
}
ErrInvalidPrivateKey will be used to wrap a RSA internal error
func (*ErrInvalidPrivateKey) Error ¶
func (e *ErrInvalidPrivateKey) Error() string
func (*ErrInvalidPrivateKey) Is ¶
func (e *ErrInvalidPrivateKey) Is(err error) bool
func (*ErrInvalidPrivateKey) Unwrap ¶
func (e *ErrInvalidPrivateKey) Unwrap() error
type KeyFactory ¶
KeyFactory is a factory for Public and Private key pairs
func NewKeyFactory ¶
func NewKeyFactory(logger logging.Logger) KeyFactory
NewKeyFactory instantiates a concrete instance of KeyFactory
type MockKeyFactory ¶
MockKeyFactory is an autogenerated mock type for the KeyFactory type
Click to show internal directories.
Click to hide internal directories.