Class SingleCertSerialEntry

  • All Implemented Interfaces:
    org.xipki.util.cbor.CborEncodable

    public class SingleCertSerialEntry
    extends SdkEncodable
    Since:
    6.0.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • SingleCertSerialEntry

        public SingleCertSerialEntry​(BigInteger serialNumber,
                                     ErrorEntry error)
    • Method Detail

      • getSerialNumber

        public BigInteger getSerialNumber()
      • encode0

        protected void encode0​(org.xipki.util.cbor.CborEncoder encoder)
                        throws IOException,
                               org.xipki.util.exception.EncodeException
        Specified by:
        encode0 in class SdkEncodable
        Throws:
        IOException
        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