private static class SM2Cipher.DerSM2Engine
extends org.bouncycastle.crypto.engines.SM2Engine
| 限定符和类型 | 字段和说明 |
|---|---|
private int |
digestLength |
private org.bouncycastle.crypto.params.ECDomainParameters |
ecDomainParameters |
private boolean |
forEncryption |
| 构造器和说明 |
|---|
DerSM2Engine() |
DerSM2Engine(org.bouncycastle.crypto.Digest digest) |
| 限定符和类型 | 方法和说明 |
|---|---|
private void |
check(org.bouncycastle.asn1.ASN1Sequence asn1Sequence) |
private byte[] |
decrypt(byte[] in,
int inOff,
int inLen) |
private byte[] |
encrypt(byte[] in,
int inOff,
int inLen) |
void |
init(boolean forEncryption,
org.bouncycastle.crypto.CipherParameters param) |
byte[] |
processBlock(byte[] in,
int inOff,
int inLen) |
private boolean forEncryption
private final int digestLength
private org.bouncycastle.crypto.params.ECDomainParameters ecDomainParameters
public DerSM2Engine()
public DerSM2Engine(org.bouncycastle.crypto.Digest digest)
public void init(boolean forEncryption,
org.bouncycastle.crypto.CipherParameters param)
init 在类中 org.bouncycastle.crypto.engines.SM2Enginepublic byte[] processBlock(byte[] in,
int inOff,
int inLen)
throws org.bouncycastle.crypto.InvalidCipherTextException
processBlock 在类中 org.bouncycastle.crypto.engines.SM2Engineorg.bouncycastle.crypto.InvalidCipherTextExceptionprivate byte[] encrypt(byte[] in,
int inOff,
int inLen)
throws org.bouncycastle.crypto.InvalidCipherTextException
org.bouncycastle.crypto.InvalidCipherTextExceptionprivate byte[] decrypt(byte[] in,
int inOff,
int inLen)
throws org.bouncycastle.crypto.InvalidCipherTextException
org.bouncycastle.crypto.InvalidCipherTextExceptionprivate void check(org.bouncycastle.asn1.ASN1Sequence asn1Sequence)
throws org.bouncycastle.crypto.InvalidCipherTextException
org.bouncycastle.crypto.InvalidCipherTextExceptionCopyright © 2022. All rights reserved.