Пример #1
0
        public static SDPSecurityDescription CreateNew(uint tag = 1, CryptoSuites cryptoSuite = CryptoSuites.AES_CM_128_HMAC_SHA1_80)
        {
            SDPSecurityDescription secdesc = new SDPSecurityDescription(tag, cryptoSuite);

            secdesc.KeyParams.Add(KeyParameter.CreateNew(cryptoSuite));
            return(secdesc);
        }