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

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

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