Constructor and Description |
---|
AuthorityCapk(byte type,
byte[] rid,
byte index,
byte[] validDate,
byte hashAlgorithmIndicator,
byte caAlgorithmIndicator,
byte[] checksum)
构造函数
|
Modifier and Type | Method and Description |
---|---|
byte |
getCaAlgorithmIndicator() |
byte[] |
getChecksum() |
byte |
getHashAlgorithmIndicator() |
byte |
getIndex() |
byte[] |
getRid() |
byte |
getType() |
byte[] |
getValidDate() |
void |
setCaAlgorithmIndicator(byte caAlgorithmIndicator) |
void |
setChecksum(byte[] checksum) |
void |
setHashAlgorithmIndicator(byte hashAlgorithmIndicator) |
void |
setIndex(byte index) |
void |
setRid(byte[] rid) |
void |
setType(byte type) |
void |
setValidDate(byte[] validDate) |
public AuthorityCapk(byte type, byte[] rid, byte index, byte[] validDate, byte hashAlgorithmIndicator, byte caAlgorithmIndicator, byte[] checksum)
type
- 公钥类型 0 - 国际Rsa - sha1 公钥算法 1 - 国密SM2- SM3公钥算法rid
- rid用于定位公钥的元素之一index
- 索引用于定位公钥的元素之一validDate
- 公钥有效期hashAlgorithmIndicator
- 哈希算法索引caAlgorithmIndicator
- 公钥算法索引checksum
- 校验值public byte getType()
public void setType(byte type)
type
- the type to setpublic byte[] getRid()
public void setRid(byte[] rid)
rid
- the rid to setpublic byte getIndex()
public void setIndex(byte index)
index
- the index to setpublic byte[] getValidDate()
public void setValidDate(byte[] validDate)
validDate
- the validDate to setpublic byte getHashAlgorithmIndicator()
public void setHashAlgorithmIndicator(byte hashAlgorithmIndicator)
hashAlgorithmIndicator
- the hashAlgorithmIndicator to setpublic byte getCaAlgorithmIndicator()
public void setCaAlgorithmIndicator(byte caAlgorithmIndicator)
caAlgorithmIndicator
- the caAlgorithmIndicator to setpublic byte[] getChecksum()
public void setChecksum(byte[] checksum)
checksum
- the checksum to set