func (_m *Certificate) PrivateKey() *rsa.PrivateKey {
	ret := _m.Called()

	var r0 *rsa.PrivateKey
	if rf, ok := ret.Get(0).(func() *rsa.PrivateKey); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*rsa.PrivateKey)
		}
	}

	return r0
}
// PrivateKey provides a mock function with given fields:
PrivateKey provides a mock function with given fields.
// PrivateKey provides a mock function with given fields :
func (_m *Certificate) PrivateKey() *rsa.PrivateKey {
	ret := _m.Called()
	var r0 *rsa.PrivateKey
	if rf, ok := ret.Get(0).(func() *rsa.PrivateKey); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*rsa.PrivateKey)
		}
	}
	return r0
}
func ( _m * Certificate ) PrivateKey ( ) * rsa . PrivateKey { ret := _m . Called ( ) var r0 * rsa . PrivateKey if rf , ok := ret . Get ( 0 ) . ( func ( ) * rsa . PrivateKey ) ; ok { r0 = rf ( ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * rsa . PrivateKey ) } } return r0 }
PrivateKey provides a mock function with given fields.
PrivateKey provides a mock function with given fields .