Empty PGPKeyRing or PGPKeyRingCollection in Bouncy Castle

316 Views Asked by At

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

1

There are 1 best solutions below

0
On

This worked for me

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