| 程序包 | 说明 |
|---|---|
| cn.ac.caict.codec.crypto.asymmetric | |
| cn.ac.caict.codec.crypto.asymmetric.rsa | |
| cn.ac.caict.codec.crypto.asymmetric.sm2 | |
| cn.ac.caict.entity |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
AsymmetricKeyCodec
java
生成的私钥是pkcs8格式
公钥是x.509格式
|
interface |
SignatureCodec
基于公钥私钥,进行签名处理
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultAsymmetricCodec |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RSACodec |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SM2Codec
SM2
|
| 构造器和说明 |
|---|
CaictEntityCipherCodec(AsymmetricCodec asymmetricCodec,
PrivateKey privateKey,
PublicKey publicKey,
SymmetricCodec symmetricCodec,
TextCodec<byte[],String> textCodec,
String keyAlg,
String dataAlg) |
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.