Class 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 Detail

      • SingleCertSerialEntry

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

      • getSerialNumber

        public java.math.BigInteger getSerialNumber()
      • encode

        public void encode​(org.xipki.util.cbor.CborEncoder encoder)
                    throws org.xipki.util.exception.EncodeException
        Specified by:
        encode in interface org.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