• 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 SrtpPolicy

    SrtpPolicy holds the SRTP encryption / authentication policy of a SRTP session.

    Author: Bing SU (nova.su@gmail.com)

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

    Constructors

    | Edit this page View Source

    SrtpPolicy(int, int, int, int, int, int)

    Construct a SRTPPolicy object based on given parameters. This class acts as a storage class, so all the parameters are passed in through this constructor.

    Declaration
    public SrtpPolicy(int encType, int encKeyLength, int authType, int authKeyLength, int authTagLength, int saltKeyLength)
    Parameters
    Type Name Description
    int encType

    SRTP encryption type

    int encKeyLength

    SRTP encryption key length

    int authType

    SRTP authentication type

    int authKeyLength

    SRTP authentication key length

    int authTagLength

    SRTP authentication tag length

    int saltKeyLength

    SRTP salt key length

    Fields

    | Edit this page View Source

    AESCM_ENCRYPTION

    AES counter mode encryption. See RFC 3711.

    Declaration
    public const int AESCM_ENCRYPTION = 1
    Field Value
    Type Description
    int
    | Edit this page View Source

    AESF8_ENCRYPTION

    AES F8 encryption. See RFC 3711.

    Declaration
    public const int AESF8_ENCRYPTION = 2
    Field Value
    Type Description
    int
    | Edit this page View Source

    HMACSHA1_AUTHENTICATION

    HMAC SHA1 authentication. See RFC 3711.

    Declaration
    public const int HMACSHA1_AUTHENTICATION = 1
    Field Value
    Type Description
    int
    | Edit this page View Source

    NULL_AUTHENTICATION

    Not used in DTLS-SRTP

    Declaration
    public const int NULL_AUTHENTICATION = 0
    Field Value
    Type Description
    int
    | Edit this page View Source

    NULL_ENCRYPTION

    No encryption. See RFC 3711.

    Declaration
    public const int NULL_ENCRYPTION = 0
    Field Value
    Type Description
    int
    | Edit this page View Source

    SKEIN_AUTHENTICATION

    Not used in DTLS-SRTP

    Declaration
    public const int SKEIN_AUTHENTICATION = 2
    Field Value
    Type Description
    int
    | Edit this page View Source

    TWOFISHF8_ENCRYPTION

    Not used in DTLS-SRTP

    Declaration
    public const int TWOFISHF8_ENCRYPTION = 4
    Field Value
    Type Description
    int
    | Edit this page View Source

    TWOFISH_ENCRYPTION

    Not used in DTLS-SRTP

    Declaration
    public const int TWOFISH_ENCRYPTION = 3
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    AuthKeyLength

    Gets or sets the authentication key length

    Declaration
    public int AuthKeyLength { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    AuthTagLength

    Gets or sets the authentication tag length

    Declaration
    public int AuthTagLength { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    AuthType

    Gets or sets the authentication type

    Declaration
    public int AuthType { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    EncKeyLength

    Gets or sets the encryption key length

    Declaration
    public int EncKeyLength { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    EncType

    Gets or sets the encryption type

    Declaration
    public int EncType { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    SaltKeyLength

    Gets or sets the salt length

    Declaration
    public int SaltKeyLength { get; set; }
    Property Value
    Type Description
    int
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX