The general architecture of a security provider