Software that let’s you encrypt a drive using a certificate

I’m working on a university project where I have to encrypt a drive using a digital certificate. I have found software that can do this for files/folders, but not for entire drives/partitions. Is there any software like this? If no, what’s the difference in encrypting drives and files/folders?