mock_cert_creator

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mock_cert_creator is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCertCreator

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

MockCertCreator is a mock of CertCreator interface.

func NewMockCertCreator

func NewMockCertCreator(ctrl *gomock.Controller) *MockCertCreator

NewMockCertCreator creates a new mock instance.

func (*MockCertCreator) CreateCertificate

func (m *MockCertCreator) CreateCertificate(arg0 io.Reader, arg1, arg2 *x509.Certificate, arg3, arg4 interface{}) ([]byte, error)

CreateCertificate mocks base method.

func (*MockCertCreator) CreateCertificateWithPublicKey

func (m *MockCertCreator) CreateCertificateWithPublicKey(arg0 context.Context, arg1 *x509.Certificate, arg2 *rsa.PublicKey, arg3 *x509.Certificate, arg4 *rsa.PrivateKey) (*x509.Certificate, *retry.Error)

CreateCertificateWithPublicKey mocks base method.

func (*MockCertCreator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCertCreator) GenerateSN

func (m *MockCertCreator) GenerateSN() (*big.Int, error)

GenerateSN mocks base method.

func (*MockCertCreator) ParseCertificate

func (m *MockCertCreator) ParseCertificate(arg0 []byte) (*x509.Certificate, error)

ParseCertificate mocks base method.

type MockCertCreatorMockRecorder

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

MockCertCreatorMockRecorder is the mock recorder for MockCertCreator.

func (*MockCertCreatorMockRecorder) CreateCertificate

func (mr *MockCertCreatorMockRecorder) CreateCertificate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateCertificate indicates an expected call of CreateCertificate.

func (*MockCertCreatorMockRecorder) CreateCertificateWithPublicKey

func (mr *MockCertCreatorMockRecorder) CreateCertificateWithPublicKey(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateCertificateWithPublicKey indicates an expected call of CreateCertificateWithPublicKey.

func (*MockCertCreatorMockRecorder) GenerateSN

func (mr *MockCertCreatorMockRecorder) GenerateSN() *gomock.Call

GenerateSN indicates an expected call of GenerateSN.

func (*MockCertCreatorMockRecorder) ParseCertificate

func (mr *MockCertCreatorMockRecorder) ParseCertificate(arg0 interface{}) *gomock.Call

ParseCertificate indicates an expected call of ParseCertificate.

Jump to

Keyboard shortcuts

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