Diagram public key infrastructure