pgpAssertNotNull(p2);
final InputStream dIn = p2.getInputStream();
pgpAssertNotNull(dIn);
int ch;
final PGPPublicKeyRingCollection pgpRing = new PGPPublicKeyRingCollection(
PGPUtil.getDecoderStream(keyIn));
pgpAssertNotNull(ops);
decodeKeyId = ops.getKeyID();
if (decodeKeyId == null) {
// there is no key in the key ring that can decode the license
verified = false;
licenseProperties = null;
} else {
final PGPPublicKey decodeKey = pgpRing.getPublicKey(decodeKeyId);
final ByteArrayOutputStream out = new ByteArrayOutputStream();
try {
final PGPContentVerifierBuilderProvider cvBuilder = new JcaPGPContentVerifierBuilderProvider();
ops.init(cvBuilder, decodeKey);
while ((ch = dIn.read()) >= 0) {