public class KdrSessionParam extends SrtpSessionParam
| Constructor and Description |
|---|
KdrSessionParam(int kdr)
Creates a new instance of this class from a known derivation rate.
|
KdrSessionParam(String param)
Creates a new instance of this class from the textual representation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Encodes the information contained in this object for use in the complete
crypto attribute.
|
int |
getKeyDerivationRate()
The key derivation rate as encoded in the session parameters.
|
int |
getKeyDerivationRateExpanded()
The key derivation rate in its exponentiated form.
|
createpublic KdrSessionParam(int kdr)
kdr - The key derivation rate.public KdrSessionParam(String param)
param - The textual representation of the key derivation rate parameter.public int getKeyDerivationRate()
public int getKeyDerivationRateExpanded()
public String encode()
SessionParamCopyright © 2016 University of Applied Sciences Northwestern Switzerland. All rights reserved.