Module org.xbib.rpm

Class KeyGenerator

java.lang.Object
org.xbib.rpm.security.KeyGenerator

public class KeyGenerator extends Object
  • Constructor Details

    • KeyGenerator

      public KeyGenerator()
  • Method Details

    • generate

      public void generate(String id, String password, OutputStream publicKeyRingStream, OutputStream secretKeyRingStream) throws org.bouncycastle.openpgp.PGPException, IOException
      Throws:
      org.bouncycastle.openpgp.PGPException
      IOException
    • getPgpPublicKeyRing

      public org.bouncycastle.openpgp.PGPPublicKeyRing getPgpPublicKeyRing()
    • getPgpSecretKeyRing

      public org.bouncycastle.openpgp.PGPSecretKeyRing getPgpSecretKeyRing()