<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.1" />

Org.BouncyCastle.Bcpg.OpenPgp.PgpDataValidationException

Thrown if the IV at the start of a data stream indicates the wrong key is being used.
namespace Org.BouncyCastle.Bcpg.OpenPgp { public class PgpDataValidationException : PgpException { public PgpDataValidationException(); public PgpDataValidationException(string message); public PgpDataValidationException(string message, Exception innerException); protected PgpDataValidationException(SerializationInfo info, StreamingContext context); } }