// Code generated by MockGen. DO NOT EDIT. // Source: github.com/zitadel/zitadel/internal/crypto (interfaces: EncryptionAlgorithm,AuthEncryptionAlgorithm) // // Generated by this command: // // mockgen -typed -package crypto -destination ./crypto.mock.go . EncryptionAlgorithm,AuthEncryptionAlgorithm // // Package crypto is a generated GoMock package. package crypto import ( reflect "reflect" gomock "go.uber.org/mock/gomock" ) // MockEncryptionAlgorithm is a mock of EncryptionAlgorithm interface. type MockEncryptionAlgorithm struct { ctrl *gomock.Controller recorder *MockEncryptionAlgorithmMockRecorder isgomock struct{} } // MockEncryptionAlgorithmMockRecorder is the mock recorder for MockEncryptionAlgorithm. type MockEncryptionAlgorithmMockRecorder struct { mock *MockEncryptionAlgorithm } // NewMockEncryptionAlgorithm creates a new mock instance. func NewMockEncryptionAlgorithm(ctrl *gomock.Controller) *MockEncryptionAlgorithm { mock := &MockEncryptionAlgorithm{ctrl: ctrl} mock.recorder = &MockEncryptionAlgorithmMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockEncryptionAlgorithm) EXPECT() *MockEncryptionAlgorithmMockRecorder { return m.recorder } // Algorithm mocks base method. func (m *MockEncryptionAlgorithm) Algorithm() string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Algorithm") ret0, _ := ret[0].(string) return ret0 } // Algorithm indicates an expected call of Algorithm. func (mr *MockEncryptionAlgorithmMockRecorder) Algorithm() *MockEncryptionAlgorithmAlgorithmCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Algorithm", reflect.TypeOf((*MockEncryptionAlgorithm)(nil).Algorithm)) return &MockEncryptionAlgorithmAlgorithmCall{Call: call} } // MockEncryptionAlgorithmAlgorithmCall wrap *gomock.Call type MockEncryptionAlgorithmAlgorithmCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockEncryptionAlgorithmAlgorithmCall) Return(arg0 string) *MockEncryptionAlgorithmAlgorithmCall { c.Call = c.Call.Return(arg0) return c } // Do rewrite *gomock.Call.Do func (c *MockEncryptionAlgorithmAlgorithmCall) Do(f func() string) *MockEncryptionAlgorithmAlgorithmCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockEncryptionAlgorithmAlgorithmCall) DoAndReturn(f func() string) *MockEncryptionAlgorithmAlgorithmCall { c.Call = c.Call.DoAndReturn(f) return c } // Decrypt mocks base method. func (m *MockEncryptionAlgorithm) Decrypt(hashed []byte, keyID string) ([]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Decrypt", hashed, keyID) ret0, _ := ret[0].([]byte) ret1, _ := ret[1].(error) return ret0, ret1 } // Decrypt indicates an expected call of Decrypt. func (mr *MockEncryptionAlgorithmMockRecorder) Decrypt(hashed, keyID any) *MockEncryptionAlgorithmDecryptCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Decrypt", reflect.TypeOf((*MockEncryptionAlgorithm)(nil).Decrypt), hashed, keyID) return &MockEncryptionAlgorithmDecryptCall{Call: call} } // MockEncryptionAlgorithmDecryptCall wrap *gomock.Call type MockEncryptionAlgorithmDecryptCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockEncryptionAlgorithmDecryptCall) Return(arg0 []byte, arg1 error) *MockEncryptionAlgorithmDecryptCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockEncryptionAlgorithmDecryptCall) Do(f func([]byte, string) ([]byte, error)) *MockEncryptionAlgorithmDecryptCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockEncryptionAlgorithmDecryptCall) DoAndReturn(f func([]byte, string) ([]byte, error)) *MockEncryptionAlgorithmDecryptCall { c.Call = c.Call.DoAndReturn(f) return c } // DecryptString mocks base method. func (m *MockEncryptionAlgorithm) DecryptString(hashed []byte, keyID string) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DecryptString", hashed, keyID) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // DecryptString indicates an expected call of DecryptString. func (mr *MockEncryptionAlgorithmMockRecorder) DecryptString(hashed, keyID any) *MockEncryptionAlgorithmDecryptStringCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptString", reflect.TypeOf((*MockEncryptionAlgorithm)(nil).DecryptString), hashed, keyID) return &MockEncryptionAlgorithmDecryptStringCall{Call: call} } // MockEncryptionAlgorithmDecryptStringCall wrap *gomock.Call type MockEncryptionAlgorithmDecryptStringCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockEncryptionAlgorithmDecryptStringCall) Return(arg0 string, arg1 error) *MockEncryptionAlgorithmDecryptStringCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockEncryptionAlgorithmDecryptStringCall) Do(f func([]byte, string) (string, error)) *MockEncryptionAlgorithmDecryptStringCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockEncryptionAlgorithmDecryptStringCall) DoAndReturn(f func([]byte, string) (string, error)) *MockEncryptionAlgorithmDecryptStringCall { c.Call = c.Call.DoAndReturn(f) return c } // DecryptionKeyIDs mocks base method. func (m *MockEncryptionAlgorithm) DecryptionKeyIDs() []string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DecryptionKeyIDs") ret0, _ := ret[0].([]string) return ret0 } // DecryptionKeyIDs indicates an expected call of DecryptionKeyIDs. func (mr *MockEncryptionAlgorithmMockRecorder) DecryptionKeyIDs() *MockEncryptionAlgorithmDecryptionKeyIDsCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptionKeyIDs", reflect.TypeOf((*MockEncryptionAlgorithm)(nil).DecryptionKeyIDs)) return &MockEncryptionAlgorithmDecryptionKeyIDsCall{Call: call} } // MockEncryptionAlgorithmDecryptionKeyIDsCall wrap *gomock.Call type MockEncryptionAlgorithmDecryptionKeyIDsCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockEncryptionAlgorithmDecryptionKeyIDsCall) Return(arg0 []string) *MockEncryptionAlgorithmDecryptionKeyIDsCall { c.Call = c.Call.Return(arg0) return c } // Do rewrite *gomock.Call.Do func (c *MockEncryptionAlgorithmDecryptionKeyIDsCall) Do(f func() []string) *MockEncryptionAlgorithmDecryptionKeyIDsCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockEncryptionAlgorithmDecryptionKeyIDsCall) DoAndReturn(f func() []string) *MockEncryptionAlgorithmDecryptionKeyIDsCall { c.Call = c.Call.DoAndReturn(f) return c } // Encrypt mocks base method. func (m *MockEncryptionAlgorithm) Encrypt(value []byte) ([]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Encrypt", value) ret0, _ := ret[0].([]byte) ret1, _ := ret[1].(error) return ret0, ret1 } // Encrypt indicates an expected call of Encrypt. func (mr *MockEncryptionAlgorithmMockRecorder) Encrypt(value any) *MockEncryptionAlgorithmEncryptCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Encrypt", reflect.TypeOf((*MockEncryptionAlgorithm)(nil).Encrypt), value) return &MockEncryptionAlgorithmEncryptCall{Call: call} } // MockEncryptionAlgorithmEncryptCall wrap *gomock.Call type MockEncryptionAlgorithmEncryptCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockEncryptionAlgorithmEncryptCall) Return(arg0 []byte, arg1 error) *MockEncryptionAlgorithmEncryptCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockEncryptionAlgorithmEncryptCall) Do(f func([]byte) ([]byte, error)) *MockEncryptionAlgorithmEncryptCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockEncryptionAlgorithmEncryptCall) DoAndReturn(f func([]byte) ([]byte, error)) *MockEncryptionAlgorithmEncryptCall { c.Call = c.Call.DoAndReturn(f) return c } // EncryptionKeyID mocks base method. func (m *MockEncryptionAlgorithm) EncryptionKeyID() string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "EncryptionKeyID") ret0, _ := ret[0].(string) return ret0 } // EncryptionKeyID indicates an expected call of EncryptionKeyID. func (mr *MockEncryptionAlgorithmMockRecorder) EncryptionKeyID() *MockEncryptionAlgorithmEncryptionKeyIDCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptionKeyID", reflect.TypeOf((*MockEncryptionAlgorithm)(nil).EncryptionKeyID)) return &MockEncryptionAlgorithmEncryptionKeyIDCall{Call: call} } // MockEncryptionAlgorithmEncryptionKeyIDCall wrap *gomock.Call type MockEncryptionAlgorithmEncryptionKeyIDCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockEncryptionAlgorithmEncryptionKeyIDCall) Return(arg0 string) *MockEncryptionAlgorithmEncryptionKeyIDCall { c.Call = c.Call.Return(arg0) return c } // Do rewrite *gomock.Call.Do func (c *MockEncryptionAlgorithmEncryptionKeyIDCall) Do(f func() string) *MockEncryptionAlgorithmEncryptionKeyIDCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockEncryptionAlgorithmEncryptionKeyIDCall) DoAndReturn(f func() string) *MockEncryptionAlgorithmEncryptionKeyIDCall { c.Call = c.Call.DoAndReturn(f) return c } // MockAuthEncryptionAlgorithm is a mock of AuthEncryptionAlgorithm interface. type MockAuthEncryptionAlgorithm struct { ctrl *gomock.Controller recorder *MockAuthEncryptionAlgorithmMockRecorder isgomock struct{} } // MockAuthEncryptionAlgorithmMockRecorder is the mock recorder for MockAuthEncryptionAlgorithm. type MockAuthEncryptionAlgorithmMockRecorder struct { mock *MockAuthEncryptionAlgorithm } // NewMockAuthEncryptionAlgorithm creates a new mock instance. func NewMockAuthEncryptionAlgorithm(ctrl *gomock.Controller) *MockAuthEncryptionAlgorithm { mock := &MockAuthEncryptionAlgorithm{ctrl: ctrl} mock.recorder = &MockAuthEncryptionAlgorithmMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockAuthEncryptionAlgorithm) EXPECT() *MockAuthEncryptionAlgorithmMockRecorder { return m.recorder } // Algorithm mocks base method. func (m *MockAuthEncryptionAlgorithm) Algorithm() string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Algorithm") ret0, _ := ret[0].(string) return ret0 } // Algorithm indicates an expected call of Algorithm. func (mr *MockAuthEncryptionAlgorithmMockRecorder) Algorithm() *MockAuthEncryptionAlgorithmAlgorithmCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Algorithm", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).Algorithm)) return &MockAuthEncryptionAlgorithmAlgorithmCall{Call: call} } // MockAuthEncryptionAlgorithmAlgorithmCall wrap *gomock.Call type MockAuthEncryptionAlgorithmAlgorithmCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmAlgorithmCall) Return(arg0 string) *MockAuthEncryptionAlgorithmAlgorithmCall { c.Call = c.Call.Return(arg0) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmAlgorithmCall) Do(f func() string) *MockAuthEncryptionAlgorithmAlgorithmCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmAlgorithmCall) DoAndReturn(f func() string) *MockAuthEncryptionAlgorithmAlgorithmCall { c.Call = c.Call.DoAndReturn(f) return c } // Decrypt mocks base method. func (m *MockAuthEncryptionAlgorithm) Decrypt(hashed []byte, keyID string) ([]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Decrypt", hashed, keyID) ret0, _ := ret[0].([]byte) ret1, _ := ret[1].(error) return ret0, ret1 } // Decrypt indicates an expected call of Decrypt. func (mr *MockAuthEncryptionAlgorithmMockRecorder) Decrypt(hashed, keyID any) *MockAuthEncryptionAlgorithmDecryptCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Decrypt", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).Decrypt), hashed, keyID) return &MockAuthEncryptionAlgorithmDecryptCall{Call: call} } // MockAuthEncryptionAlgorithmDecryptCall wrap *gomock.Call type MockAuthEncryptionAlgorithmDecryptCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmDecryptCall) Return(arg0 []byte, arg1 error) *MockAuthEncryptionAlgorithmDecryptCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmDecryptCall) Do(f func([]byte, string) ([]byte, error)) *MockAuthEncryptionAlgorithmDecryptCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmDecryptCall) DoAndReturn(f func([]byte, string) ([]byte, error)) *MockAuthEncryptionAlgorithmDecryptCall { c.Call = c.Call.DoAndReturn(f) return c } // DecryptString mocks base method. func (m *MockAuthEncryptionAlgorithm) DecryptString(hashed []byte, keyID string) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DecryptString", hashed, keyID) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // DecryptString indicates an expected call of DecryptString. func (mr *MockAuthEncryptionAlgorithmMockRecorder) DecryptString(hashed, keyID any) *MockAuthEncryptionAlgorithmDecryptStringCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptString", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).DecryptString), hashed, keyID) return &MockAuthEncryptionAlgorithmDecryptStringCall{Call: call} } // MockAuthEncryptionAlgorithmDecryptStringCall wrap *gomock.Call type MockAuthEncryptionAlgorithmDecryptStringCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmDecryptStringCall) Return(arg0 string, arg1 error) *MockAuthEncryptionAlgorithmDecryptStringCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmDecryptStringCall) Do(f func([]byte, string) (string, error)) *MockAuthEncryptionAlgorithmDecryptStringCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmDecryptStringCall) DoAndReturn(f func([]byte, string) (string, error)) *MockAuthEncryptionAlgorithmDecryptStringCall { c.Call = c.Call.DoAndReturn(f) return c } // DecryptToken mocks base method. func (m *MockAuthEncryptionAlgorithm) DecryptToken(token string) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DecryptToken", token) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // DecryptToken indicates an expected call of DecryptToken. func (mr *MockAuthEncryptionAlgorithmMockRecorder) DecryptToken(token any) *MockAuthEncryptionAlgorithmDecryptTokenCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptToken", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).DecryptToken), token) return &MockAuthEncryptionAlgorithmDecryptTokenCall{Call: call} } // MockAuthEncryptionAlgorithmDecryptTokenCall wrap *gomock.Call type MockAuthEncryptionAlgorithmDecryptTokenCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmDecryptTokenCall) Return(arg0 string, arg1 error) *MockAuthEncryptionAlgorithmDecryptTokenCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmDecryptTokenCall) Do(f func(string) (string, error)) *MockAuthEncryptionAlgorithmDecryptTokenCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmDecryptTokenCall) DoAndReturn(f func(string) (string, error)) *MockAuthEncryptionAlgorithmDecryptTokenCall { c.Call = c.Call.DoAndReturn(f) return c } // DecryptionKeyIDs mocks base method. func (m *MockAuthEncryptionAlgorithm) DecryptionKeyIDs() []string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DecryptionKeyIDs") ret0, _ := ret[0].([]string) return ret0 } // DecryptionKeyIDs indicates an expected call of DecryptionKeyIDs. func (mr *MockAuthEncryptionAlgorithmMockRecorder) DecryptionKeyIDs() *MockAuthEncryptionAlgorithmDecryptionKeyIDsCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptionKeyIDs", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).DecryptionKeyIDs)) return &MockAuthEncryptionAlgorithmDecryptionKeyIDsCall{Call: call} } // MockAuthEncryptionAlgorithmDecryptionKeyIDsCall wrap *gomock.Call type MockAuthEncryptionAlgorithmDecryptionKeyIDsCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmDecryptionKeyIDsCall) Return(arg0 []string) *MockAuthEncryptionAlgorithmDecryptionKeyIDsCall { c.Call = c.Call.Return(arg0) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmDecryptionKeyIDsCall) Do(f func() []string) *MockAuthEncryptionAlgorithmDecryptionKeyIDsCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmDecryptionKeyIDsCall) DoAndReturn(f func() []string) *MockAuthEncryptionAlgorithmDecryptionKeyIDsCall { c.Call = c.Call.DoAndReturn(f) return c } // Encrypt mocks base method. func (m *MockAuthEncryptionAlgorithm) Encrypt(value []byte) ([]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Encrypt", value) ret0, _ := ret[0].([]byte) ret1, _ := ret[1].(error) return ret0, ret1 } // Encrypt indicates an expected call of Encrypt. func (mr *MockAuthEncryptionAlgorithmMockRecorder) Encrypt(value any) *MockAuthEncryptionAlgorithmEncryptCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Encrypt", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).Encrypt), value) return &MockAuthEncryptionAlgorithmEncryptCall{Call: call} } // MockAuthEncryptionAlgorithmEncryptCall wrap *gomock.Call type MockAuthEncryptionAlgorithmEncryptCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmEncryptCall) Return(arg0 []byte, arg1 error) *MockAuthEncryptionAlgorithmEncryptCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmEncryptCall) Do(f func([]byte) ([]byte, error)) *MockAuthEncryptionAlgorithmEncryptCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmEncryptCall) DoAndReturn(f func([]byte) ([]byte, error)) *MockAuthEncryptionAlgorithmEncryptCall { c.Call = c.Call.DoAndReturn(f) return c } // EncryptToken mocks base method. func (m *MockAuthEncryptionAlgorithm) EncryptToken(data string) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "EncryptToken", data) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // EncryptToken indicates an expected call of EncryptToken. func (mr *MockAuthEncryptionAlgorithmMockRecorder) EncryptToken(data any) *MockAuthEncryptionAlgorithmEncryptTokenCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptToken", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).EncryptToken), data) return &MockAuthEncryptionAlgorithmEncryptTokenCall{Call: call} } // MockAuthEncryptionAlgorithmEncryptTokenCall wrap *gomock.Call type MockAuthEncryptionAlgorithmEncryptTokenCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmEncryptTokenCall) Return(arg0 string, arg1 error) *MockAuthEncryptionAlgorithmEncryptTokenCall { c.Call = c.Call.Return(arg0, arg1) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmEncryptTokenCall) Do(f func(string) (string, error)) *MockAuthEncryptionAlgorithmEncryptTokenCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmEncryptTokenCall) DoAndReturn(f func(string) (string, error)) *MockAuthEncryptionAlgorithmEncryptTokenCall { c.Call = c.Call.DoAndReturn(f) return c } // EncryptionKeyID mocks base method. func (m *MockAuthEncryptionAlgorithm) EncryptionKeyID() string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "EncryptionKeyID") ret0, _ := ret[0].(string) return ret0 } // EncryptionKeyID indicates an expected call of EncryptionKeyID. func (mr *MockAuthEncryptionAlgorithmMockRecorder) EncryptionKeyID() *MockAuthEncryptionAlgorithmEncryptionKeyIDCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptionKeyID", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).EncryptionKeyID)) return &MockAuthEncryptionAlgorithmEncryptionKeyIDCall{Call: call} } // MockAuthEncryptionAlgorithmEncryptionKeyIDCall wrap *gomock.Call type MockAuthEncryptionAlgorithmEncryptionKeyIDCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmEncryptionKeyIDCall) Return(arg0 string) *MockAuthEncryptionAlgorithmEncryptionKeyIDCall { c.Call = c.Call.Return(arg0) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmEncryptionKeyIDCall) Do(f func() string) *MockAuthEncryptionAlgorithmEncryptionKeyIDCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmEncryptionKeyIDCall) DoAndReturn(f func() string) *MockAuthEncryptionAlgorithmEncryptionKeyIDCall { c.Call = c.Call.DoAndReturn(f) return c } // LegacyTokenEnabled mocks base method. func (m *MockAuthEncryptionAlgorithm) LegacyTokenEnabled() bool { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "LegacyTokenEnabled") ret0, _ := ret[0].(bool) return ret0 } // LegacyTokenEnabled indicates an expected call of LegacyTokenEnabled. func (mr *MockAuthEncryptionAlgorithmMockRecorder) LegacyTokenEnabled() *MockAuthEncryptionAlgorithmLegacyTokenEnabledCall { mr.mock.ctrl.T.Helper() call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LegacyTokenEnabled", reflect.TypeOf((*MockAuthEncryptionAlgorithm)(nil).LegacyTokenEnabled)) return &MockAuthEncryptionAlgorithmLegacyTokenEnabledCall{Call: call} } // MockAuthEncryptionAlgorithmLegacyTokenEnabledCall wrap *gomock.Call type MockAuthEncryptionAlgorithmLegacyTokenEnabledCall struct { *gomock.Call } // Return rewrite *gomock.Call.Return func (c *MockAuthEncryptionAlgorithmLegacyTokenEnabledCall) Return(arg0 bool) *MockAuthEncryptionAlgorithmLegacyTokenEnabledCall { c.Call = c.Call.Return(arg0) return c } // Do rewrite *gomock.Call.Do func (c *MockAuthEncryptionAlgorithmLegacyTokenEnabledCall) Do(f func() bool) *MockAuthEncryptionAlgorithmLegacyTokenEnabledCall { c.Call = c.Call.Do(f) return c } // DoAndReturn rewrite *gomock.Call.DoAndReturn func (c *MockAuthEncryptionAlgorithmLegacyTokenEnabledCall) DoAndReturn(f func() bool) *MockAuthEncryptionAlgorithmLegacyTokenEnabledCall { c.Call = c.Call.DoAndReturn(f) return c }