Package org.xipki.ca.sdk
Class EnrollOrPullCertResponseEntry
- java.lang.Object
-
- org.xipki.ca.sdk.EnrollOrPullCertResponseEntry
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class EnrollOrPullCertResponseEntry extends java.lang.Object implements org.xipki.util.cbor.CborEncodable- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description EnrollOrPullCertResponseEntry(java.math.BigInteger id, ErrorEntry error, byte[] cert, byte[] privateKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnrollOrPullCertResponseEntrydecode(org.xipki.util.cbor.CborDecoder decoder)static EnrollOrPullCertResponseEntry[]decodeArray(org.xipki.util.cbor.CborDecoder decoder)voidencode(org.xipki.util.cbor.CborEncoder encoder)byte[]getCert()ErrorEntrygetError()java.math.BigIntegergetId()byte[]getPrivateKey()
-
-
-
Constructor Detail
-
EnrollOrPullCertResponseEntry
public EnrollOrPullCertResponseEntry(java.math.BigInteger id, ErrorEntry error, byte[] cert, byte[] privateKey)
-
-
Method Detail
-
getId
public java.math.BigInteger getId()
-
getError
public ErrorEntry getError()
-
getCert
public byte[] getCert()
-
getPrivateKey
public byte[] getPrivateKey()
-
encode
public void encode(org.xipki.util.cbor.CborEncoder encoder) throws org.xipki.util.exception.EncodeException- Specified by:
encodein interfaceorg.xipki.util.cbor.CborEncodable- Throws:
org.xipki.util.exception.EncodeException
-
decode
public static EnrollOrPullCertResponseEntry decode(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
decodeArray
public static EnrollOrPullCertResponseEntry[] decodeArray(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-