Package ch.imvs.sdes4j.srtp
Class FecKeySessionParam
- java.lang.Object
-
- ch.imvs.sdes4j.srtp.SrtpSessionParam
-
- ch.imvs.sdes4j.srtp.FecKeySessionParam
-
- All Implemented Interfaces:
SessionParam
public class FecKeySessionParam extends SrtpSessionParam
FEC_KEY signals the use of separate master key(s) for a Forward Error Correction (FEC) stream.- Author:
- Ingo Bauersachs
-
-
Constructor Summary
Constructors Constructor Description FecKeySessionParam(SrtpKeyParam[] keyParams)
Creates a new instance of this class from known key parameters.FecKeySessionParam(java.lang.String param)
Creates a new instance of this class from the textual representation of the session parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SrtpKeyParam
createSrtpKeyParam(java.lang.String p)
Factory method to create the key parameter objects.java.lang.String
encode()
Encodes the information contained in this object for use in the complete crypto attribute.SrtpKeyParam[]
getKeyParams()
Gets the key parameters of this session parameter.-
Methods inherited from class ch.imvs.sdes4j.srtp.SrtpSessionParam
create
-
-
-
-
Constructor Detail
-
FecKeySessionParam
public FecKeySessionParam(SrtpKeyParam[] keyParams)
Creates a new instance of this class from known key parameters.- Parameters:
keyParams
- The key parameters to use for this FEC session parameter.
-
FecKeySessionParam
public FecKeySessionParam(java.lang.String param)
Creates a new instance of this class from the textual representation of the session parameter.- Parameters:
param
- The textual representation of the session parameter.
-
-
Method Detail
-
createSrtpKeyParam
protected SrtpKeyParam createSrtpKeyParam(java.lang.String p)
Factory method to create the key parameter objects.- Parameters:
p
- The key parameter to parse.- Returns:
- The parsed key parameter.
-
getKeyParams
public SrtpKeyParam[] getKeyParams()
Gets the key parameters of this session parameter.- Returns:
- The key parameters of this session parameter.
-
encode
public java.lang.String encode()
Description copied from interface:SessionParam
Encodes the information contained in this object for use in the complete crypto attribute.- Returns:
- Textual representation of the session parameter.
-
-