Package org.xipki.ca.sdk
Class SingleCertSerialEntry
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.SingleCertSerialEntry
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class SingleCertSerialEntry extends SdkEncodable
- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description SingleCertSerialEntry(BigInteger serialNumber, ErrorEntry error)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SingleCertSerialEntrydecode(org.xipki.util.cbor.CborDecoder decoder)static SingleCertSerialEntry[]decodeArray(org.xipki.util.cbor.CborDecoder decoder)protected voidencode0(org.xipki.util.cbor.CborEncoder encoder)ErrorEntrygetError()BigIntegergetSerialNumber()-
Methods inherited from class org.xipki.ca.sdk.SdkEncodable
assertArrayStart, buildDecodeErrMessage, encode, encode
-
-
-
-
Constructor Detail
-
SingleCertSerialEntry
public SingleCertSerialEntry(BigInteger serialNumber, ErrorEntry error)
-
-
Method Detail
-
getSerialNumber
public BigInteger getSerialNumber()
-
getError
public ErrorEntry getError()
-
encode0
protected void encode0(org.xipki.util.cbor.CborEncoder encoder) throws IOException, org.xipki.util.exception.EncodeException- Specified by:
encode0in classSdkEncodable- Throws:
IOExceptionorg.xipki.util.exception.EncodeException
-
decode
public static SingleCertSerialEntry decode(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
decodeArray
public static SingleCertSerialEntry[] decodeArray(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-