public class SMCapk extends AuthorityCapk
Constructor and Description |
---|
SMCapk(byte[] rid,
byte index,
byte[] validDate,
byte hashAlgorithmIndicator,
byte caAlgorithmIndicator,
byte[] checksum,
byte[] userId,
int eNTL,
byte[] cordX,
byte[] cordY) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getCordX() |
byte[] |
getCordY() |
int |
getENTL() |
byte[] |
getUserId() |
void |
setCordX(byte[] cordX) |
void |
setCordY(byte[] cordY) |
void |
setENTL(int eNTL) |
void |
setUserId(byte[] userId) |
getCaAlgorithmIndicator, getChecksum, getHashAlgorithmIndicator, getIndex, getRid, getType, getValidDate, setCaAlgorithmIndicator, setChecksum, setHashAlgorithmIndicator, setIndex, setRid, setType, setValidDate
public SMCapk(byte[] rid, byte index, byte[] validDate, byte hashAlgorithmIndicator, byte caAlgorithmIndicator, byte[] checksum, byte[] userId, int eNTL, byte[] cordX, byte[] cordY)
type
- 公钥类型 0 - 国际Rsa - sha1 公钥算法 1 - 国密SM2- SM3公钥算法rid
- rid用于定位公钥的元素之一index
- 索引用于定位公钥的元素之一validDate
- 公钥有效期hashAlgorithmIndicator
- 哈希算法索引caAlgorithmIndicator
- 公钥算法索引checksum
- 校验值userId
- 用户IDeNTL
- entlcordX
- x坐标cordY
- Y坐标public byte[] getUserId()
public void setUserId(byte[] userId)
userId
- the userId to setpublic int getENTL()
public void setENTL(int eNTL)
eNTL
- the eNTL to setpublic byte[] getCordX()
public void setCordX(byte[] cordX)
cordX
- the cordX to setpublic byte[] getCordY()
public void setCordY(byte[] cordY)
cordY
- the cordY to set