mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateUtility

type CertificateUtility struct {
	mock.Mock
}

CertificateUtility is an autogenerated mock type for the CertificateUtility type

func (*CertificateUtility) CheckCSRValues

CheckCSRValues provides a mock function with given fields: csr, subject

func (*CertificateUtility) LoadCSR

func (_m *CertificateUtility) LoadCSR(encodedData string) (*x509.CertificateRequest, apperrors.AppError)

LoadCSR provides a mock function with given fields: encodedData

func (*CertificateUtility) LoadCert

func (_m *CertificateUtility) LoadCert(encodedData []byte) (*x509.Certificate, apperrors.AppError)

LoadCert provides a mock function with given fields: encodedData

func (*CertificateUtility) LoadKey

func (_m *CertificateUtility) LoadKey(encodedData []byte) (*rsa.PrivateKey, apperrors.AppError)

LoadKey provides a mock function with given fields: encodedData

func (*CertificateUtility) SignWithCA

SignWithCA provides a mock function with given fields: caCrt, csr, key

Jump to

Keyboard shortcuts

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