Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type CertificateUtility
- func (_m *CertificateUtility) CheckCSRValues(csr *x509.CertificateRequest, subject certificates.CSRSubject) apperrors.AppError
- func (_m *CertificateUtility) LoadCSR(encodedData string) (*x509.CertificateRequest, apperrors.AppError)
- func (_m *CertificateUtility) LoadCert(encodedData []byte) (*x509.Certificate, apperrors.AppError)
- func (_m *CertificateUtility) LoadKey(encodedData []byte) (*rsa.PrivateKey, apperrors.AppError)
- func (_m *CertificateUtility) SignWithCA(caCrt *x509.Certificate, csr *x509.CertificateRequest, key *rsa.PrivateKey) (string, apperrors.AppError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateUtility ¶
CertificateUtility is an autogenerated mock type for the CertificateUtility type
func (*CertificateUtility) CheckCSRValues ¶
func (_m *CertificateUtility) CheckCSRValues(csr *x509.CertificateRequest, subject certificates.CSRSubject) apperrors.AppError
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 ¶
func (_m *CertificateUtility) SignWithCA(caCrt *x509.Certificate, csr *x509.CertificateRequest, key *rsa.PrivateKey) (string, apperrors.AppError)
SignWithCA provides a mock function with given fields: caCrt, csr, key
Click to show internal directories.
Click to hide internal directories.