public class SM2KeyExchange
extends java.lang.Object
| Constructor and Description |
|---|
SM2KeyExchange() |
SM2KeyExchange(Digest digest) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
calculateKey(int kLen,
CipherParameters pubParam) |
byte[][] |
calculateKeyWithConfirmation(int kLen,
byte[] confirmationTag,
CipherParameters pubParam) |
int |
getFieldSize() |
void |
init(CipherParameters privParam) |
public SM2KeyExchange()
public SM2KeyExchange(Digest digest)
public void init(CipherParameters privParam)
public int getFieldSize()
public byte[] calculateKey(int kLen,
CipherParameters pubParam)
public byte[][] calculateKeyWithConfirmation(int kLen,
byte[] confirmationTag,
CipherParameters pubParam)