public abstract class DHKeyDerivationParams extends Object implements Params
| Modifier and Type | Class and Description |
|---|---|
static interface |
DHKeyDerivationParams.KeyDerivationFunctionType |
| Modifier and Type | Field and Description |
|---|---|
protected long |
kdf
The key derivation function used on the shared secret value.
|
protected byte[] |
publicData
The other partie's public key value.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DHKeyDerivationParams(long kdf,
byte[] publicData)
Create a new DHKeyDerivationParameters object with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object.
|
long |
getKeyDerivationFunction()
Get the key derivation function used on the shared secret value.
|
byte[] |
getPublicData()
Get the other partie's public key value.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this
class work correctly in a hashtable.
|
void |
setKeyDerivationFunction(long kdf)
Set the key derivation function used on the shared secret value.
|
void |
setPublicData(byte[] publicData)
Set the other partie's public key value.
|
String |
toString()
Returns the string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPKCS11ParamsObjectprotected long kdf
protected byte[] publicData
protected DHKeyDerivationParams(long kdf,
byte[] publicData)
kdf - The key derivation function used on the shared secret value.
One of the values defined in KeyDerivationFunctionType.publicData - The other partie's public key value.public long getKeyDerivationFunction()
public byte[] getPublicData()
public void setKeyDerivationFunction(long kdf)
kdf - The key derivation function used on the shared secret value.
One of the values defined in KeyDerivationFunctionType.public void setPublicData(byte[] publicData)
publicData - The other partie's public key value.public String toString()
public boolean equals(Object otherObject)
Copyright © 2018. All rights reserved.