bc-java
bc-java copied to clipboard
AEADEncDataPacket: Throw UnsupportedPacketVersionException
If an unsupported version of the LibrePGP AEADEncDataPacket
is encountered, the code currently throws an IllegalArgumentException
.
This PR changes this behavior to throw an UnsupportedPacketVersionException
instead.