Package org.xipki.ca.sdk
Class EnrollOrPollCertsResponse.Entry
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.EnrollOrPollCertsResponse.Entry
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
- Enclosing class:
- EnrollOrPollCertsResponse
public static class EnrollOrPollCertsResponse.Entry extends SdkEncodable
-
-
Constructor Summary
Constructors Constructor Description Entry(BigInteger id, ErrorEntry error, byte[] cert, byte[] privateKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnrollOrPollCertsResponse.Entrydecode(org.xipki.util.cbor.CborDecoder decoder)static EnrollOrPollCertsResponse.Entry[]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
-
Entry
public Entry(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 EnrollOrPollCertsResponse.Entry decode(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
decodeArray
public static EnrollOrPollCertsResponse.Entry[] decodeArray(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-