Documentation ¶
Overview ¶
Package keybrokermock implements no-op mocks for the keys package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RSAPublicKeyMock ¶
type RSAPublicKeyMock struct {
// contains filtered or unexported fields
}
RSAPublicKeyMock defines the implementation for brokering an RSA public key during testing
func MockRSAPublicKey ¶
func MockRSAPublicKey(key rsa.PublicKey) *RSAPublicKeyMock
MockRSAPublicKey resolves any source and returns a mocked RSAPublicKeyCopier and Renewer
func (*RSAPublicKeyMock) Copy ¶
func (b *RSAPublicKeyMock) Copy() rsa.PublicKey
Copy returns a shallow copy o the RSA public key
Click to show internal directories.
Click to hide internal directories.