// trusted by the user
InputStream resource = null;
InputStream signature = null;
try {
signature = new FileInputStream(ascUrlFile);
final SignatureDecision decision = pgpService
.isSignatureAcceptable(signature);
if (!decision.isSignatureAcceptable()) {
LOGGER.log(Level.SEVERE,
"Download URL '" + resourceUrl.toExternalForm()
+ "' failed");
LOGGER.log(
Level.SEVERE,
"This resource was signed with PGP key ID '"
+ decision.getSignatureAsHex()
+ "', which is not currently trusted");
LOGGER.log(
Level.SEVERE,
"Use 'pgp key view' to view this key, 'pgp trust' to trust it, or 'pgp automatic trust' to trust any keys");
throw new IOException("Download URL '"