|
|
|
|
@ -66,6 +66,76 @@ public void setCryptoSuite(String cryptoSuite)
|
|
|
|
|
*/
|
|
|
|
|
public String getCryptoSuite()
|
|
|
|
|
{
|
|
|
|
|
return getAttribtueString(CRYPTO_SUITE_ARG_NAME);
|
|
|
|
|
return getAttributeString(CRYPTO_SUITE_ARG_NAME);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the value of the <tt>key-params</tt> attribute that provides one or
|
|
|
|
|
* more sets of keying material for the crypto-suite in question).
|
|
|
|
|
*
|
|
|
|
|
* @param keyParams a <tt>String</tt> that provides one or more sets of
|
|
|
|
|
* keying material for the crypto-suite in question.
|
|
|
|
|
*/
|
|
|
|
|
public void setKeyParams(String keyParams)
|
|
|
|
|
{
|
|
|
|
|
super.setAttribtue(KEY_PARAMS_ARG_NAME, keyParams);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the value of the <tt>key-params</tt> attribute.
|
|
|
|
|
*
|
|
|
|
|
* @return a <tt>String</tt> that provides one or more sets of keying
|
|
|
|
|
* material for the crypto-suite in question).
|
|
|
|
|
*/
|
|
|
|
|
public String getKeyPaams()
|
|
|
|
|
{
|
|
|
|
|
return getAttributeString(KEY_PARAMS_ARG_NAME);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the value of the <tt>session-params</tt> attribute that provides
|
|
|
|
|
* transport-specific parameters for SRTP negotiation.
|
|
|
|
|
*
|
|
|
|
|
* @param sessionParams a <tt>String</tt> that provides transport-specific
|
|
|
|
|
* parameters for SRTP negotiation.
|
|
|
|
|
*/
|
|
|
|
|
public void setSessionParams(String sessionParams)
|
|
|
|
|
{
|
|
|
|
|
super.setAttribtue(SESSION_PARAMS_ARG_NAME, sessionParams);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the value of the <tt>session-params</tt> attribute.
|
|
|
|
|
*
|
|
|
|
|
* @return a <tt>String</tt> that provides transport-specific parameters
|
|
|
|
|
* for SRTP negotiation.
|
|
|
|
|
*/
|
|
|
|
|
public String getSessionPaams()
|
|
|
|
|
{
|
|
|
|
|
return getAttributeString(SESSION_PARAMS_ARG_NAME);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the value of the <tt>tag</tt> attribute: a decimal number used as
|
|
|
|
|
* an identifier for a particular crypto element.
|
|
|
|
|
*
|
|
|
|
|
* @param tag a <tt>String</tt> containing a decimal number used as an
|
|
|
|
|
* identifier for a particular crypto element.
|
|
|
|
|
*/
|
|
|
|
|
public void setTag(String tag)
|
|
|
|
|
{
|
|
|
|
|
super.setAttribtue(TAG_ARG_NAME, tag);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the value of the <tt>tag</tt> attribute.
|
|
|
|
|
*
|
|
|
|
|
* @return a <tt>String</tt> containing a decimal number used as an
|
|
|
|
|
* identifier for a particular crypto element.
|
|
|
|
|
*/
|
|
|
|
|
public String getTag()
|
|
|
|
|
{
|
|
|
|
|
return getAttributeString(TAG_ARG_NAME);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|