How to create an empty PGPKeyRing or PGPKeyRingCollection in Bouncy Castle ?
Asked
Active
Viewed 288 times
0
-
I was trying this PGPSecretKeyRingCollection aSecretKeyRingCollection = new PGPSecretKeyRingCollection("") – Saurabh Sep 25 '12 at 04:10
1 Answers
1
This worked for me
PGPSecretKeyRingCollection aSecretKeyRingCollection = new PGPSecretKeyRingCollection(new ArrayList<>());

Saurabh
- 195
- 1
- 2
- 7