Package org.xipki.ca.sdk
Class CrlResponse
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.SdkResponse
-
- org.xipki.ca.sdk.CrlResponse
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class CrlResponse extends SdkResponse
Response containing the CRL.- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description CrlResponse(byte[] crl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CrlResponsedecode(byte[] encoded)protected voidencode0(org.xipki.util.cbor.CborEncoder encoder)byte[]getCrl()-
Methods inherited from class org.xipki.ca.sdk.SdkEncodable
assertArrayStart, buildDecodeErrMessage, encode, encode
-
-
-
-
Method Detail
-
getCrl
public byte[] getCrl()
-
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 CrlResponse decode(byte[] encoded) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-