密钥库(java)有命名约定吗

发布于 2024-09-10 05:55:49 字数 102 浏览 3 评论 0 原文

我第一次使用 java 密钥库。密钥库是否有标准扩展名/后缀?它们通常命名为 .ks 吗?如果它是 java 密钥库,我应该使用 .jks 吗?如果命名约定被普遍接受,我想遵循一种命名约定。

I'm working with java keystores for the first time. Is there a standard extension / suffix for a keystore? Are they typically named .ks? If it's a java keystore am I supposed to use .jks? I would like to follow a naming convention if one is generally accepted.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

友谊不毕业 2024-09-17 05:55:49

这取决于密钥存储类型。 Java 的默认类型是 JKS,因此 .jks 很有意义。还存在其他密钥存储类型,例如 PKCS12。 PKCS12 密钥存储的典型文件扩展名是 .p12 和 .pfx。查看打开文件窗口中 Portecle 的文件扩展名,它认为 .ks、. jks、.jceks、.p12、.pfx、.bks 和 .ubr 均可。不过,我自己只遇到过 .jks、.p12 和 .pfx。

It depends on the key store type. The default type for Java is JKS so .jks makes sense. Other key store types exist such as PKCS12. Typical file extensions for PKCS12 key stores are .p12 and .pfx. Looking at the file extensions in the open file window for Portecle, it considers .ks, .jks, .jceks, .p12, .pfx, .bks, and .ubr as possibilies. I've only ever encountered .jks, .p12, and .pfx myself however.

逆流 2024-09-17 05:55:49

对于 Java 密钥库,IBM 似乎建议使用 .jks

请参阅 这里在指定 Java 密钥库设置时,它们使用 .jks 作为扩展名。

For Java keystores, IBM appears to suggest .jks

See here that when specifying Java keystore settings, they use .jks as the extension.

£噩梦荏苒 2024-09-17 05:55:49

格式密钥必须转换为 .jks 格式才能在 J2EE SDK 中使用。

A format key must be converted into .jks format for use in the J2EE SDK.

不再让梦枯萎 2024-09-17 05:55:49

我刚刚进入这个问题,试图猜测为什么 Unity3d 不接受我的 Android 密钥库。
name.key 不起作用,但 name.keystore 起作用,所以我猜 .keystore 也是一个可能的扩展。

I just got into this question trying to guess why Unity3d didn't accept my Android keystore.
name.key doesn't work but name.keystore does, so I guess that .keystore is also a possible extension.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文