Package org.xipki.ca.sdk
Class OldCertInfo.BySha1FpAndSerial
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.OldCertInfo.BySha1FpAndSerial
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
- Enclosing class:
- OldCertInfo
public static class OldCertInfo.BySha1FpAndSerial extends SdkEncodable
-
-
Constructor Summary
Constructors Constructor Description BySha1FpAndSerial(byte[] caCertSha1, BigInteger serialNumber)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OldCertInfo.BySha1FpAndSerialdecode(org.xipki.util.cbor.CborDecoder decoder)protected voidencode0(org.xipki.util.cbor.CborEncoder encoder)byte[]getCaCertSha1()BigIntegergetSerialNumber()-
Methods inherited from class org.xipki.ca.sdk.SdkEncodable
assertArrayStart, buildDecodeErrMessage, encode, encode
-
-
-
-
Constructor Detail
-
BySha1FpAndSerial
public BySha1FpAndSerial(byte[] caCertSha1, BigInteger serialNumber)
-
-
Method Detail
-
getCaCertSha1
public byte[] getCaCertSha1()
-
getSerialNumber
public BigInteger getSerialNumber()
-
encode0
protected void encode0(org.xipki.util.cbor.CborEncoder encoder) throws IOException, org.xipki.util.exception.EncodeException- Specified by:
encode0in classSdkEncodable- Throws:
IOExceptionorg.xipki.util.exception.EncodeException
-
decode
public static OldCertInfo.BySha1FpAndSerial decode(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-