Skip to content

Key generation

Latest
Compare
Choose a tag to compare
@neuhalje neuhalje released this 19 Jan 10:54
· 57 commits to master since this release
48e263b

BouncyGPG now supports key generation!

  // Create a simple RSA KeyPair with 3072 bit keys and with a user-id for Juliet Capulet.
  // The KeyPair consists of a single RSA master key which is used for signing, encryption and certification.

    final KeyringConfig rsaKeyRing = BouncyGPG.createSimpleKeyring()
        .simpleRsaKeyRing(UID_JULIET, RsaLength.RSA_3072_BIT);