Package org.xipki.ca.sdk
Class CertChainResponse
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.SdkResponse
-
- org.xipki.ca.sdk.CertChainResponse
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class CertChainResponse extends SdkResponse
Response containing the certificate chain.- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description CertChainResponse(byte[][] certificates)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertChainResponsedecode(byte[] encoded)protected voidencode0(org.xipki.util.cbor.CborEncoder encoder)byte[][]getCertificates()-
Methods inherited from class org.xipki.ca.sdk.SdkEncodable
assertArrayStart, buildDecodeErrMessage, encode, encode
-
-
-
-
Method Detail
-
getCertificates
public byte[][] getCertificates()
-
encode0
protected void encode0(org.xipki.util.cbor.CborEncoder encoder) throws IOException- Specified by:
encode0in classSdkEncodable- Throws:
IOException
-
decode
public static CertChainResponse decode(byte[] encoded) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-