Question: what is the basic difference between x.509 and pgp?
Answer: In terms of key hierarchy, you have to request to a Certification Authority in order for them to issue you an X. 509 certificate. On the other hand, you can creat your own pgp.