gpt4 book ai didi

java - 签署 Eclipse 插件始终有效

转载 作者:行者123 更新时间:2023-12-01 14:57:21 32 4
gpt4 key购买 nike

我想使用 keytool 对我的插件 jar 进行签名以生成 key 。

我知道有 -validity 选项,但如何设置它以使插件始终有效且永不过期。

谢谢

最佳答案

查看 keytool 文档:

Validity Period : Each certificate is valid only for a limited amount of time. This period is described by a start date and time and an end date and time, and can be as short as a few seconds or almost as long as a century. The validity period chosen depends on a number of factors, such as the strength of the private key used to sign the certificate or the amount one is willing to pay for a certificate. This is the expected period that entities can rely on the public value, if the associated private key has not been compromised.

由此可见,您不可能拥有永不过期的证书。

关于java - 签署 Eclipse 插件始终有效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14184081/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com