Implement public key infrastructure