/** * Returns a SrtpCryptoAttribute corresponding to this CryptoPAcketExtension. * * @return A SrtpCryptoAttribute corresponding to this CryptoPAcketExtension. */ public SrtpCryptoAttribute toSrtpCryptoAttribute() { // Creaates the new SrtpCryptoAttribute. return SrtpCryptoAttribute.create( this.getTag(), this.getCryptoSuite(), this.getKeyParams(), this.getSessionParams()); }