public class SM2Engine
extends java.lang.Object
Constructor and Description |
---|
SM2Engine() |
SM2Engine(Digest digest) |
SM2Engine(Digest digest,
int mode) |
SM2Engine(int 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 static final int C1C2C3
public static final int C1C3C2
public SM2Engine()
public SM2Engine(int mode)
public SM2Engine(Digest digest)
public SM2Engine(Digest digest, int mode)
public void init(boolean forEncryption, CipherParameters param)
public byte[] processBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
InvalidCipherTextException
public int getOutputSize(int inputLen)
protected ECMultiplier createBasePointMultiplier()