public class SM2Engine
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SM2Engine.Mode |
| Constructor and Description |
|---|
SM2Engine() |
SM2Engine(Digest digest) |
SM2Engine(Digest digest,
SM2Engine.Mode mode) |
SM2Engine(SM2Engine.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
protected ECMultiplier |
createBasePointMultiplier() |
int |
getOutputSize(int inputLen) |
void |
init(boolean forEncryption,
CipherParameters param) |
byte[] |
processBlock(byte[] in,
int inOff,
int inLen) |
public SM2Engine()
public SM2Engine(SM2Engine.Mode mode)
public SM2Engine(Digest digest)
public SM2Engine(Digest digest, SM2Engine.Mode mode)
public void init(boolean forEncryption,
CipherParameters param)
public byte[] processBlock(byte[] in,
int inOff,
int inLen)
throws InvalidCipherTextException
InvalidCipherTextExceptionpublic int getOutputSize(int inputLen)
protected ECMultiplier createBasePointMultiplier()