Package org.xipki.pkcs11.wrapper.params
Class CkParams
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- Direct Known Subclasses:
AES_CBC_ENCRYPT_DATA_PARAMS,ByteArrayParams,CCM_MESSAGE_PARAMS,CCM_PARAMS,CHACHA20_PARAMS,CkParamsWithExtra,ECDH1_DERIVE_PARAMS,ECDH2_DERIVE_PARAMS,ECMQV_DERIVE_PARAMS,GCM_MESSAGE_PARAMS,GCM_PARAMS,KEA_DERIVE_PARAMS,KEY_DERIVATION_STRING_DATA,KEY_WRAP_SET_OAEP_PARAMS,LongParams,MechanismParams,PBE_PARAMS,PKCS5_PBKD2_PARAMS,RSA_AES_KEY_WRAP_PARAMS,RSA_PKCS_OAEP_PARAMS,RSA_PKCS_PSS_PARAMS,SALSA20_CHACHA20_POLY1305_MSG_PARAMS,SALSA20_CHACHA20_POLY1305_PARAMS,SALSA20_PARAMS,Utimaco_ECDSA_ECIES_PARAMS,X9_42_DH1_DERIVE_PARAMS,X9_42_DH2_DERIVE_PARAMS,X9_42_MQV_DERIVE_PARAMS
public abstract class CkParams extends Object
Every Parameters-class implements this interface through which the module.- Author:
- Lijun Liao (xipki)
-
-
Field Summary
Fields Modifier and Type Field Description protected PKCS11Modulemodule
-
Constructor Summary
Constructors Constructor Description CkParams()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringcodeToName(PKCS11Constants.Category category, long code)protected abstract intgetMaxFieldLen()abstract ObjectgetParams()Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.protected Stringptr2str(String indent, String name, Object value)protected static <T> TrequireNonNull(String paramName, T param)voidsetModule(PKCS11Module module)StringtoString()abstract StringtoString(String indent)protected Stringval2Str(String indent, String name, Object value)
-
-
-
Field Detail
-
module
protected PKCS11Module module
-
-
Method Detail
-
getParams
public abstract Object getParams()
Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.- Returns:
- The object of the corresponding *_PARAMS class.
-
getMaxFieldLen
protected abstract int getMaxFieldLen()
-
setModule
public void setModule(PKCS11Module module)
-
codeToName
protected String codeToName(PKCS11Constants.Category category, long code)
-
requireNonNull
protected static <T> T requireNonNull(String paramName, T param)
-
-