【发布时间】:2022-02-02 23:50:06
【问题描述】:
我关注https://bouncycastle-pgp-cookbook.blogspot.com/ 来生成 PGP 密钥对。它适用于生成的 pub 和私钥文件。但是当我查看 pub 密钥时,它没有到期日期。我在 PGPSignatureSubpacketGenerator 上设置了密钥过期时间。 signhashgen.setKeyExpirationTime(true, 864000);
【问题讨论】:
标签: java cryptography bouncycastle