Package org.xipki.pkcs11.wrapper.params
Class KEA_DERIVE_PARAMS
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- org.xipki.pkcs11.wrapper.params.KEA_DERIVE_PARAMS
-
public class KEA_DERIVE_PARAMS extends CkParams
Represents the CK_KEA_DERIVE_PARAMS.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description KEA_DERIVE_PARAMS(boolean isSender, byte[] randomA, byte[] randomB, byte[] publicData)Create a new KEA_DERIVE_PARAMS object with the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetMaxFieldLen()CK_KEA_DERIVE_PARAMSgetParams()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
-
KEA_DERIVE_PARAMS
public KEA_DERIVE_PARAMS(boolean isSender, byte[] randomA, byte[] randomB, byte[] publicData)Create a new KEA_DERIVE_PARAMS object with the given attributes.- Parameters:
isSender- Option for generating the key (called a TEK). The value is TRUE if the sender (originator) generates the TEK, FALSE if the recipient is regenerating the TEK.randomA- The random data Ra.randomB- The random data Rb.publicData- The other party's KEA public key value.
-
-
Method Detail
-
getParams
public CK_KEA_DERIVE_PARAMS 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
-
-