Class EnrollOrPullCertResponseEntry

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

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

      • EnrollOrPullCertResponseEntry

        public EnrollOrPullCertResponseEntry​(BigInteger id,
                                             ErrorEntry error,
                                             byte[] cert,
                                             byte[] privateKey)
    • Method Detail

      • getCert

        public byte[] getCert()
      • getPrivateKey

        public byte[] getPrivateKey()
      • encode0

        protected void encode0​(org.xipki.util.cbor.CborEncoder encoder)
                        throws org.xipki.util.exception.EncodeException,
                               IOException
        Specified by:
        encode0 in class SdkEncodable
        Throws:
        org.xipki.util.exception.EncodeException
        IOException
      • decode

        public static EnrollOrPullCertResponseEntry decode​(org.xipki.util.cbor.CborDecoder decoder)
                                                    throws org.xipki.util.exception.DecodeException
        Throws:
        org.xipki.util.exception.DecodeException
      • decodeArray

        public static EnrollOrPullCertResponseEntry[] decodeArray​(org.xipki.util.cbor.CborDecoder decoder)
                                                           throws org.xipki.util.exception.DecodeException
        Throws:
        org.xipki.util.exception.DecodeException