X509

X509 encoding, generation, and validation.