Package org.xipki.ca.sdk
Class ConfirmCertRequestEntry
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.ConfirmCertRequestEntry
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class ConfirmCertRequestEntry extends SdkEncodable
- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description ConfirmCertRequestEntry(boolean accept, BigInteger certReqId, byte[] certhash)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfirmCertRequestEntrydecode(org.xipki.util.cbor.CborDecoder decoder)static ConfirmCertRequestEntry[]decodeArray(org.xipki.util.cbor.CborDecoder decoder)protected voidencode0(org.xipki.util.cbor.CborEncoder encoder)byte[]getCerthash()BigIntegergetCertReqId()booleanisAccept()-
Methods inherited from class org.xipki.ca.sdk.SdkEncodable
assertArrayStart, buildDecodeErrMessage, encode, encode
-
-
-
-
Constructor Detail
-
ConfirmCertRequestEntry
public ConfirmCertRequestEntry(boolean accept, BigInteger certReqId, byte[] certhash)
-
-
Method Detail
-
getCertReqId
public BigInteger getCertReqId()
-
getCerthash
public byte[] getCerthash()
-
isAccept
public boolean isAccept()
-
encode0
protected void encode0(org.xipki.util.cbor.CborEncoder encoder) throws IOException- Specified by:
encode0in classSdkEncodable- Throws:
IOException
-
decode
public static ConfirmCertRequestEntry decode(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
decodeArray
public static ConfirmCertRequestEntry[] decodeArray(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-