Package org.xipki.pkcs11.wrapper.params
Class CkParamsWithExtra
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- org.xipki.pkcs11.wrapper.params.CkParamsWithExtra
-
public class CkParamsWithExtra extends CkParams
CkParam withExtraParamsto provides extra information, e.g. the size of an EC curve's order.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description CkParamsWithExtra(CkParams ckParams, ExtraParams extraParams)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtraParamsgetExtraParams()protected intgetMaxFieldLen()ObjectgetParams()Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.StringtoString(String indent)-
Methods inherited from class org.xipki.pkcs11.wrapper.params.CkParams
ptr2str, requireNonNull, toString, val2Str
-
-
-
-
Constructor Detail
-
CkParamsWithExtra
public CkParamsWithExtra(CkParams ckParams, ExtraParams extraParams)
Constructor.- Parameters:
ckParams- The real CkParams. May be null.extraParams- The extra parameters. May be null.
-
-
Method Detail
-
getParams
public Object getParams()
Description copied from class:CkParamsGet this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.
-
getMaxFieldLen
protected int getMaxFieldLen()
- Specified by:
getMaxFieldLenin classCkParams
-
getExtraParams
public ExtraParams getExtraParams()
-
-