Class KeyRingTemplates

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bouncycastle.openpgp.PGPSecretKeyRing modernKeyRing​(String userId, String password)
      Generate a modern PGP key ring consisting of an ed25519 EdDSA primary key which is used to certify an X25519 XDH encryption subkey and an ed25519 EdDSA signing key.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleEcKeyRing​(String userId)
      Creates a key ring consisting of an ed25519 EdDSA primary key and a curve25519 XDH subkey.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleEcKeyRing​(String userId, String password)
      Creates a key ring consisting of an ed25519 EdDSA primary key and a X25519 XDH subkey.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleEcKeyRing​(UserId userId)
      Creates a key ring consisting of an ed25519 EdDSA primary key and a curve25519 XDH subkey.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleEcKeyRing​(UserId userId, String password)
      Creates a key ring consisting of an ed25519 EdDSA primary key and a curve25519 XDH subkey.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleRsaKeyRing​(String userId, RsaLength length)
      Creates a simple, unencrypted RSA KeyPair of length length with user-id userId.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleRsaKeyRing​(String userId, RsaLength length, String password)
      Creates a simple RSA KeyPair of length length with user-id userId.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleRsaKeyRing​(UserId userId, RsaLength length)
      Creates a simple, unencrypted RSA KeyPair of length length with user-id userId.
      org.bouncycastle.openpgp.PGPSecretKeyRing simpleRsaKeyRing​(UserId userId, RsaLength length, String password)
      Creates a simple RSA KeyPair of length length with user-id userId.