Package org.xipki.ca.sdk
Class SingleCertSerialEntry
- java.lang.Object
-
- org.xipki.ca.sdk.SingleCertSerialEntry
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class SingleCertSerialEntry extends java.lang.Object implements org.xipki.util.cbor.CborEncodable- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description SingleCertSerialEntry(java.math.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)voidencode(org.xipki.util.cbor.CborEncoder encoder)ErrorEntrygetError()java.math.BigIntegergetSerialNumber()
-
-
-
Constructor Detail
-
SingleCertSerialEntry
public SingleCertSerialEntry(java.math.BigInteger serialNumber, ErrorEntry error)
-
-
Method Detail
-
getSerialNumber
public java.math.BigInteger getSerialNumber()
-
getError
public ErrorEntry getError()
-
encode
public void encode(org.xipki.util.cbor.CborEncoder encoder) throws org.xipki.util.exception.EncodeException- Specified by:
encodein interfaceorg.xipki.util.cbor.CborEncodable- Throws:
org.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
-
-