Modified the SqlCertificateDatabase abstraction a bit