java 密钥库_Java密钥库的不同类型 -- 概述

机器翻译

Different types of keystore in Java -- Overview

Java密钥库的不同类型 -- 概述

Keystore is a storage facility to store cryptographic keys and certificates. They are most frequently used in SSL communications to prove the identity of servers and clients. A keystore can be a file or a hardware device. Three are three kinds of entries can be stored in a keystore depending on the types of keystores.

密钥库是存储加密密钥和证书的存储设施。在SSL通信中常被用于证明服务器和客户机的身份。密钥库可以是文件或硬件设备。根据密钥库的类型,可以在密钥库中存储三种类型的条目

The three types of entries are:

三种类型的条目是:

PrivateKey : This is a type of keys which are used in asymmetric cryptography. It is usually protected with password because of its sensitivity. It can also be used to sign a digital signature.

私钥:这是一种用于非对称加密的密钥类型。由于其敏感度,通常使用密码保护。它也可以用来签署数字签名

Certificate : A certificate contains a public key which can identify the subject claimed in the certificate. It is usually used to verify the identity of a server. Sometimes it is also used to identify a client when requested.

证书:一个证书包含可以标识证书中声明的主题的公钥。它通常用于验证服务器的身份。当请求时,有时它还用于识别客户机。

SecretKey : A key entry which is sued in symmetric cryptography.

对称密加密中使用的一种密钥项。

Depending on what entries the keystore can store and how the keystore can store the entries, there are a few different types of keystores in Java: JKS, JCEKS, PKCS12, PKCS11 and DKS. You can find the introduction of these keystore on Oracle's Java Cryptography Architecture description.

根据密钥库可以存储哪些条目以及密钥库如何存储这些条目,Java中有几种不同类型的密钥库:JKS、JCEKS、PKCS12、PKCS11和DKS。可以在Oracle的Java加密体系结构描述中找到这些密钥库的介绍。

Next, we

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值