Package org.xipki.pkcs11.wrapper.params
Class ECDH1_DERIVE_PARAMS
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- org.xipki.pkcs11.wrapper.params.ECDH1_DERIVE_PARAMS
-
public class ECDH1_DERIVE_PARAMS extends CkParams
Represents the CK_ECDH1_DERIVE_PARAMS.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description ECDH1_DERIVE_PARAMS(long kdf, byte[] sharedData, byte[] publicData)Create a new ECDH1_DERIVE_PARAMS object with the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetMaxFieldLen()CK_ECDH1_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
-
ECDH1_DERIVE_PARAMS
public ECDH1_DERIVE_PARAMS(long kdf, byte[] sharedData, byte[] publicData)Create a new ECDH1_DERIVE_PARAMS object with the given attributes.- Parameters:
kdf- The key derivation function used on the shared secret value. One of the values defined in KeyDerivationFunctionType.sharedData- The data shared between the two parties.publicData- The other party's public key value.
-
-
Method Detail
-
getParams
public CK_ECDH1_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
-
-