KeyPairGenerator, KeyFactory, KeyStore


KeyGenerator    — 用于生成Symmertric Key

KeyPairGenerator   –用于生成Public/Private Key对

SecretKeyFactory — 把代表对称密钥的byte[] 变回 Key对象

KeyFactory  — 把代表非对称密钥的byte[] 变回 Key对象

KeyStore  —  in-memory collection of keys and certificates

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.