Package org.xipki.ca.sdk
Class EnrollOrPullCertResponseEntry
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.EnrollOrPullCertResponseEntry
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class EnrollOrPullCertResponseEntry extends SdkEncodable
- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description EnrollOrPullCertResponseEntry(BigInteger id, ErrorEntry error, byte[] cert, byte[] privateKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnrollOrPullCertResponseEntrydecode(org.xipki.util.cbor.CborDecoder decoder)static EnrollOrPullCertResponseEntry[]decodeArray(org.xipki.util.cbor.CborDecoder decoder)protected voidencode0(org.xipki.util.cbor.CborEncoder encoder)byte[]getCert()ErrorEntrygetError()BigIntegergetId()byte[]getPrivateKey()-
Methods inherited from class org.xipki.ca.sdk.SdkEncodable
assertArrayStart, buildDecodeErrMessage, encode, encode
-
-
-
-
Constructor Detail
-
EnrollOrPullCertResponseEntry
public EnrollOrPullCertResponseEntry(BigInteger id, ErrorEntry error, byte[] cert, byte[] privateKey)
-
-
Method Detail
-
getId
public BigInteger getId()
-
getError
public ErrorEntry getError()
-
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:
encode0in classSdkEncodable- Throws:
org.xipki.util.exception.EncodeExceptionIOException
-
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
-
-