Interface | Description |
---|---|
AsymmetricDecryptor |
非对称解密器接口,提供:
从bytes解密
从Hex(16进制)解密
从Base64解密
从BCD解密
|
AsymmetricEncryptor |
非对称加密器接口,提供:
加密为bytes
加密为Hex(16进制)
加密为Base64
加密为BCD
|
Class | Description |
---|---|
AbstractAsymmetricCrypto<T extends AbstractAsymmetricCrypto<T>> |
抽象的非对称加密对象,包装了加密和解密为Hex和Base64的封装
|
AsymmetricCrypto |
非对称加密算法
|
BaseAsymmetric<T extends BaseAsymmetric<T>> |
非对称基础,提供锁、私钥和公钥的持有
|
ECIES |
ECIES(集成加密方案,elliptic curve integrate encrypt scheme)
|
RSA |
RSA公钥/私钥/签名加密解密
|
Sign |
签名包装,
Signature 包装类 |
SM2 |
国密SM2非对称算法实现,基于BC库
SM2算法只支持公钥加密,私钥解密 参考:https://blog.csdn.net/pridas/article/details/86118774 |
Enum | Description |
---|---|
AsymmetricAlgorithm |
非对称算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator |
KeyType |
密钥类型
|
SignAlgorithm |
签名算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Signature |
Copyright © 2024. All rights reserved.