public override void Terminate()
        {
            Host.KeyProviderPool.Remove(SmartCertificateKeyProvider);

            SmartCertificateKeyProvider.Dispose();
            SmartCertificateKeyProvider = null;

            base.Terminate();
        }
        public override bool Initialize(IPluginHost host)
        {
            Host = host;
            SmartCertificateKeyProvider = new SmartCertificateKeyProvider(Host);

            Host.KeyProviderPool.Add(SmartCertificateKeyProvider);

            return(base.Initialize(host));
        }