Commons OpenPGP 介绍
Commons OpenPGP 项目的目的是提供一个统一的简单的应用接口来验证 OpenPGP
的签名。
示例代码:
verifier = new BouncyCastleOpenPgpSignatureVerifier();
verifier.verifyDetachedSignature(
getClass().getResourceAsstream( "/test-input" ), // binary input file
signature, // inputstream for the signature
keyRing,
true );
Commons OpenPGP 官网
http://commons.apache.org/sandbox/openpgp/