public final class SM2Engine
extends java.lang.Object
| Constructor and Description |
|---|
SM2Engine() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(boolean forEncryption,
java.security.interfaces.ECKey key,
java.security.SecureRandom random) |
byte[] |
processBlock(byte[] input,
int inputOffset,
int inputLen) |
public void init(boolean forEncryption,
java.security.interfaces.ECKey key,
java.security.SecureRandom random)
public byte[] processBlock(byte[] input,
int inputOffset,
int inputLen)
throws javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException
javax.crypto.IllegalBlockSizeExceptionjavax.crypto.BadPaddingException