Package org.xipki.ca.sdk
Class KeyType
- java.lang.Object
-
- org.xipki.ca.sdk.SdkEncodable
-
- org.xipki.ca.sdk.KeyType
-
- All Implemented Interfaces:
org.xipki.util.cbor.CborEncodable
public class KeyType extends SdkEncodable
- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyTypedecode(org.xipki.util.cbor.CborDecoder decoder)static KeyType[]decodeArray(org.xipki.util.cbor.CborDecoder decoder)protected voidencode0(org.xipki.util.cbor.CborEncoder encoder)String[]getEcCurves()StringgetKeyType()-
Methods inherited from class org.xipki.ca.sdk.SdkEncodable
assertArrayStart, buildDecodeErrMessage, encode, encode
-
-
-
-
Method Detail
-
getKeyType
public String getKeyType()
-
getEcCurves
public String[] getEcCurves()
-
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 KeyType decode(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
decodeArray
public static KeyType[] decodeArray(org.xipki.util.cbor.CborDecoder decoder) throws org.xipki.util.exception.DecodeException
- Throws:
org.xipki.util.exception.DecodeException
-
-