How to add user ID to existing PGP secret key in Java
I’m using BouncyCastle in Java for email PGP encryption/decryption/signing. I want users to be able to add additional email addresses to their key. So basically I want to implement the ‘adduid’ functionality like the ‘gpg’ ommandline utility has.
I do not seem to be able to figure out how to do this.