java.lang.Object
org.xbib.rpm.security.KeyGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(String id, String password, OutputStream publicKeyRingStream, OutputStream secretKeyRingStream) org.bouncycastle.openpgp.PGPPublicKeyRingorg.bouncycastle.openpgp.PGPSecretKeyRing
-
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.PGPExceptionIOException
-
getPgpPublicKeyRing
public org.bouncycastle.openpgp.PGPPublicKeyRing getPgpPublicKeyRing() -
getPgpSecretKeyRing
public org.bouncycastle.openpgp.PGPSecretKeyRing getPgpSecretKeyRing()
-