• Articles
  • Api Documentation
Search Results for

    Show / Hide Table of Contents
    • SipLib.Body
      • BodyParser
      • ContentTypes
      • MessageContentsContainer
      • MultipartBinaryBodyBuilder
      • SipBodyBuilder
    • SipLib.Channels
      • AcceptCertificateDelegate
      • AcceptConnectionDelegate
      • DscpSettings
      • LogInvalidSipMessageDelegate
      • LogSipRequestDelegate
      • LogSipResponseDelegate
      • Qos
      • SIPChannel
      • SIPConnection
      • SIPConnectionDisconnectedDelegate
      • SIPConnectionsEnum
      • SIPMessageReceivedDelegate
      • SIPTCPChannel
      • SIPTLSChannel
      • SIPUDPChannel
      • SipConnectionFailedDelegate
      • SipRequestReceivedDelegate
      • SipResponseReceivedDelegate
      • SipTransactionCompleteDelegate
      • WindowsQos
    • SipLib.Collections
      • ThreadSafeGenericList<T>
    • SipLib.Core
      • ByteBufferInfo
      • CallProperties
      • Crypto
      • HTTPDigest
      • IPSocket
      • SIPAuthenticationHeader
      • SIPAuthorisationDigest
      • SIPAuthorisationHeadersEnum
      • SIPCallInfoHeader
      • SIPConstants
      • SIPContactHeader
      • SIPEndPoint
      • SIPEscape
      • SIPFrag
      • SIPFromHeader
      • SIPGeolocationHeader
      • SIPHeader
      • SIPHeaders
      • SIPMessage
      • SIPMessageTypesEnum
      • SIPMethods
      • SIPMethodsEnum
      • SIPPaiHeader
      • SIPParameters
      • SIPPpiHeader
      • SIPProtocolsEnum
      • SIPProtocolsType
      • SIPReplacesParameter
      • SIPRequest
      • SIPResponse
      • SIPResponseStatusCodes
      • SIPResponseStatusCodesEnum
      • SIPRoute
      • SIPRouteSet
      • SIPSchemesEnum
      • SIPSchemesType
      • SIPToHeader
      • SIPURI
      • SIPUserField
      • SIPValidationException
      • SIPValidationFieldsEnum
      • SIPViaHeader
      • SIPViaSet
      • SipUtils
      • TypeExtensions
    • SipLib.Dtls
      • AlertLevelsEnum
      • AlertTypesEnum
      • DtlsClientUdpTransport
      • DtlsServerUdpTransport
      • DtlsSrtpClient
      • DtlsSrtpServer
      • DtlsSrtpTransport
      • DtlsUtils
      • IDtlsSrtpPeer
      • IPacketTransformer
      • ITransformEngine
      • NetConvert
      • RTCDtlsFingerprint
      • RawPacket
      • SrtcpCryptoContext
      • SrtpPolicy
      • SrtpTransformEngine
      • SrtpTransformer
    • SipLib.Logging
      • SipLogger
    • SipLib.Media
      • ALawDecoder
      • ALawEncoder
      • AudioDestination
      • AudioDestinationDelegate
      • AudioSampleData
      • AudioSamplesReadyDelegate
      • AudioSource
      • Band
      • DtmfDigitReceivedDelegate
      • FileAudioSource
      • G722Codec
      • G722CodecState
      • G722Decoder
      • G722Encoder
      • G722Flags
      • HighResolutionTimer
      • HighResolutionTimerDelegate
      • IAudioDecoder
      • IAudioEncoder
      • IAudioSampleSource
      • MediaPortManager
      • MediaPortSettings
      • MediaTypes
      • MsrpEncryptionEnum
      • MuLawDecoder
      • MuLawEncoder
      • PcmaDecoder
      • PcmaEncoder
      • PcmuDecoder
      • PcmuEncoder
      • PortRange
      • RtpEncryptionEnum
    • SipLib.Msrp
      • ByteRangeHeader
      • CpimMessage
      • MsrpCompletionStatus
      • MsrpConnection
      • MsrpConnectionStatusDelegate
      • MsrpMessage
      • MsrpMessageDeliveryFailedDelegate
      • MsrpMessageReceivedDelegate
      • MsrpMessageSentDelegate
      • MsrpMessageType
      • MsrpPathHeader
      • MsrpStatusHeader
      • MsrpStreamParser
      • MsrpTextMessageReceivedDelegate
      • MsrpUri
      • ReportReceivedDelegate
    • SipLib.Network
      • IpUtils
    • SipLib.RealTimeText
      • RttCharactersReceivedDelegate
      • RttParameters
      • RttReceiver
      • RttRtpSendDelegate
      • RttSender
    • SipLib.Rtp
      • ByePacket
      • DtlsHandshakeFailedDelegate
      • DtmfEventEnum
      • DtmfPacket
      • JitterStatistics
      • MeanOpinionScore
      • ReceiveStatisticsReadyDelegate
      • ReceiverReport
      • ReportBlock
      • RtcpCompoundPacket
      • RtcpHeader
      • RtcpPacketReceivedDelegate
      • RtcpPacketSentDelegate
      • RtcpPacketType
      • RtpChannel
      • RtpPacket
      • RtpPacketReceivedDelegate
      • RtpPacketSentDelegate
      • RtpReceiveStatistics
      • RtpUtils
      • SdesChunk
      • SdesItem
      • SdesItemType
      • SdesPacket
      • SenderInfo
      • SenderReport
    • SipLib.RtpCrypto
      • AesFunctions
      • CryptoAttribute
      • CryptoContext
      • CryptoSuites
      • InlineParams
      • MasterKeys
      • RocVals
      • RocValues
      • SRtpErrorsEnum
      • SRtpUtils
      • SessionKeys
      • SrtpDecryptor
      • SrtpEncryptor
      • SrtpLabelItem
      • SrtpTransformBase
    • SipLib.Sdp
      • ConnectionData
      • MediaDescription
      • MediaDirectionEnum
      • Origin
      • RtpMapAttribute
      • Sdp
      • SdpAnswerSettings
      • SdpAttribute
      • SdpUtils
      • SetupType
    • SipLib.Threading
      • QueuedActionWorkerTask
    • SipLib.Transactions
      • ClientInviteTransaction
      • ClientNonInviteTransaction
      • ServerInviteTransaction
      • ServerNonInviteTransaction
      • SipTimers
      • SipTransactionBase
      • SipTransport
      • TransactionRequestReceivedDelegate
      • TransactionResponseReceivedDelegate
      • TransactionStateEnum
      • TransactionTerminationReasonEnum
    • SipLib.Video
      • H264Depacketiser
      • H264Packetiser
      • H264Packetiser.H264Nal
      • H264RtpReceiver
      • H264RtpSender
      • RtpSendDelegate
      • RtpVP8Header
      • VP8RtpReceiver
      • VP8RtpSender
      • VideoRtpReceiver
      • VideoRtpSender

    Class CryptoSuites

    Class that provides information about the crypto suites for SRTP that this class library supports.

    Inheritance
    object
    CryptoSuites
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SipLib.RtpCrypto
    Assembly: SipLib.dll
    Syntax
    public class CryptoSuites

    Fields

    | Edit this page View Source

    AES_192_CM_HMAC_SHA1_32

    See Table 2 of RFC 6188

    Declaration
    public const string AES_192_CM_HMAC_SHA1_32 = "AES_192_CM_HMAC_SHA1_32"
    Field Value
    Type Description
    string
    | Edit this page View Source

    AES_192_CM_HMAC_SHA1_80

    See Table 1 of RFC 6188

    Declaration
    public const string AES_192_CM_HMAC_SHA1_80 = "AES_192_CM_HMAC_SHA1_80"
    Field Value
    Type Description
    string
    | Edit this page View Source

    AES_256_CM_HMAC_SHA1_32

    See Table 4 of RFC 6188

    Declaration
    public const string AES_256_CM_HMAC_SHA1_32 = "AES_256_CM_HMAC_SHA1_32"
    Field Value
    Type Description
    string
    | Edit this page View Source

    AES_256_CM_HMAC_SHA1_80

    See Table 3 of RFC 6188

    Declaration
    public const string AES_256_CM_HMAC_SHA1_80 = "AES_256_CM_HMAC_SHA1_80"
    Field Value
    Type Description
    string
    | Edit this page View Source

    AES_CM_128_HMAC_SHA1_32

    See Section 6.2.2 of RFC 4568

    Declaration
    public const string AES_CM_128_HMAC_SHA1_32 = "AES_CM_128_HMAC_SHA1_32"
    Field Value
    Type Description
    string
    | Edit this page View Source

    AES_CM_128_HMAC_SHA1_80

    See Section 6.2.1 of RFC 4568

    Declaration
    public const string AES_CM_128_HMAC_SHA1_80 = "AES_CM_128_HMAC_SHA1_80"
    Field Value
    Type Description
    string
    | Edit this page View Source

    F8_128_HMAC_SHA1_80

    See Section 6.2.3 of RFC 4568

    Declaration
    public const string F8_128_HMAC_SHA1_80 = "F8_128_HMAC_SHA1_80"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SupportedAlgorithms

    Gets the list of supported SRTP cryptographic algorithms. This list is ordered from most preferred (most secure) to least preferred.

    Declaration
    public static List<string> SupportedAlgorithms
    Field Value
    Type Description
    List<string>

    Methods

    | Edit this page View Source

    CryptoSuiteIsSupported(string)

    Returns true if the crypto cryptoSuite is supported or false if it not

    Declaration
    public static bool CryptoSuiteIsSupported(string cryptoSuite)
    Parameters
    Type Name Description
    string cryptoSuite

    Name of the crypto cryptoSuite

    Returns
    Type Description
    bool

    True if the cryptoSuite is supported or false if it is not.

    | Edit this page View Source

    GetAuthTagLengthBytes(string)

    Gets the length in bytes of the authentication tag that is appended to each RTP and RTCP packet.

    Declaration
    public static int GetAuthTagLengthBytes(string cryptoSuite)
    Parameters
    Type Name Description
    string cryptoSuite

    Crypto suite.

    Returns
    Type Description
    int

    Returns the length of the SRTP authentication in bytes. The return value either be 10 or 4.

    | Edit this page View Source

    GetKeyLengthBytes(string)

    Gets the key length in bytes for a cryto suite

    Declaration
    public static int GetKeyLengthBytes(string cryptoSuite)
    Parameters
    Type Name Description
    string cryptoSuite

    The SRTP crypto suite that the inline parameters relate to

    Returns
    Type Description
    int

    Returns the expected key length

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX