test

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRsaService

type MockRsaService struct {
	mock.Mock
}

func (*MockRsaService) DecryptPKCS1v15

func (m *MockRsaService) DecryptPKCS1v15(rand io.Reader, priv *stdRsa.PrivateKey, ciphertext []byte) ([]byte, error)

func (*MockRsaService) EncryptPKCS1v15

func (m *MockRsaService) EncryptPKCS1v15(rand io.Reader, pub *stdRsa.PublicKey, msg []byte) ([]byte, error)

func (*MockRsaService) ReadPrivateKeyFromPath

func (m *MockRsaService) ReadPrivateKeyFromPath(privateKeyPath string) (*stdRsa.PrivateKey, error)

func (*MockRsaService) ReadPublicKeyFromPath

func (m *MockRsaService) ReadPublicKeyFromPath(publicKeyPath string) (*stdRsa.PublicKey, error)

Jump to

Keyboard shortcuts

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