Class RSAKeyPairGenerator

java.lang.Object
org.bouncycastle.openpgp.examples.RSAKeyPairGenerator

public class RSAKeyPairGenerator extends Object
A simple utility class that generates an RSA key ring.

usage: RSAKeyPairGenerator [-a] identity passPhrase

Where identity is the name to be associated with the public key. The keys are placed in the files pub.[asc|bpg] and secret.[asc|bpg].

  • Constructor Details

    • RSAKeyPairGenerator

      public RSAKeyPairGenerator()
  • Method Details