0

How to create an empty PGPKeyRing or PGPKeyRingCollection in Bouncy Castle ?

Saurabh
  • 195
  • 1
  • 2
  • 7
  • I was trying this PGPSecretKeyRingCollection aSecretKeyRingCollection = new PGPSecretKeyRingCollection("") – Saurabh Sep 25 '12 at 04:10

1 Answers1

1

This worked for me

PGPSecretKeyRingCollection aSecretKeyRingCollection = new PGPSecretKeyRingCollection(new ArrayList<>());

Saurabh
  • 195
  • 1
  • 2
  • 7