mocks

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 2 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 IBlockCipher

type IBlockCipher struct {
	mock.Mock
}

IBlockCipher is an autogenerated mock type for the IBlockCipher type

func (*IBlockCipher) DecryptWithAESGCM

func (_m *IBlockCipher) DecryptWithAESGCM(cipherText []byte) ([]byte, error)

DecryptWithAESGCM provides a mock function with given fields: cipherText

func (*IBlockCipher) EncryptWithAESGCM

func (_m *IBlockCipher) EncryptWithAESGCM(plainText []byte) ([]byte, error)

EncryptWithAESGCM provides a mock function with given fields: plainText

func (*IBlockCipher) GetCipherTextKey

func (_m *IBlockCipher) GetCipherTextKey() []byte

GetCipherTextKey provides a mock function with given fields:

func (*IBlockCipher) GetKMSKeyId

func (_m *IBlockCipher) GetKMSKeyId() string

GetKMSKeyId provides a mock function with given fields:

func (*IBlockCipher) GetRandomChallenge

func (_m *IBlockCipher) GetRandomChallenge() string

GetKMSKeyId provides a mock function with given fields:

func (*IBlockCipher) UpdateEncryptionKey

func (_m *IBlockCipher) UpdateEncryptionKey(_a0 log.T, cipherTextKey []byte, sessionId string, instanceId string, useRandomChallenge bool) error

UpdateEncryptionKey provides a mock function with given fields: _a0, cipherTextKey, sessionId, instanceId

type IKMSService

type IKMSService struct {
	mock.Mock
}

IKMSService is an autogenerated mock type for the IKMSService type

func (*IKMSService) Decrypt

func (_m *IKMSService) Decrypt(cipherTextBlob []byte, encryptionContext map[string]*string, keyId string) ([]byte, error)

Decrypt provides a mock function with given fields: cipherTextBlob, encryptionContext

Jump to

Keyboard shortcuts

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