public class SM2KeyExchangeParameterSpec extends Object implements AlgorithmParameterSpec
| 限定符和类型 | 字段和说明 |
|---|---|
private byte[] |
localId |
private PublicKey |
localPublicKey |
private BigInteger |
localRandom |
private byte[] |
peerId |
private byte[] |
peerRBytes |
private int |
secretLen |
private boolean |
useClientMode |
| 构造器和说明 |
|---|
SM2KeyExchangeParameterSpec(byte[] localId,
BigInteger localRandom,
byte[] peerRBytes,
byte[] peerId,
int secretLen,
boolean useClientMode) |
SM2KeyExchangeParameterSpec(PublicKey localPublicKey,
byte[] localId,
BigInteger localRandom,
byte[] peerRBytes,
byte[] peerId,
int secretLen,
boolean useClientMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getLocalId() |
PublicKey |
getLocalPublicKey() |
BigInteger |
getLocalRandom() |
byte[] |
getPeerId() |
byte[] |
getPeerRBytes() |
int |
getSecretLen() |
boolean |
isUseClientMode() |
private PublicKey localPublicKey
private byte[] localId
private BigInteger localRandom
private byte[] peerRBytes
private byte[] peerId
private int secretLen
private boolean useClientMode
public SM2KeyExchangeParameterSpec(PublicKey localPublicKey, byte[] localId, BigInteger localRandom, byte[] peerRBytes, byte[] peerId, int secretLen, boolean useClientMode)
public SM2KeyExchangeParameterSpec(byte[] localId,
BigInteger localRandom,
byte[] peerRBytes,
byte[] peerId,
int secretLen,
boolean useClientMode)
public PublicKey getLocalPublicKey()
public byte[] getLocalId()
public BigInteger getLocalRandom()
public byte[] getPeerRBytes()
public byte[] getPeerId()
public int getSecretLen()
public boolean isUseClientMode()
Copyright © 2022. All rights reserved.