Share via


StreamProtectionInformation Class

Definition

Represents the encryption key information used to encrypt the content from a specific period of time in a stream.

[System.Serializable]
public class StreamProtectionInformation
[<System.Serializable>]
type StreamProtectionInformation = class
Public Class StreamProtectionInformation
Inheritance
StreamProtectionInformation
Attributes

Constructors

StreamProtectionInformation()

Initializes a new instance of the StreamProtectionInformation class.

StreamProtectionInformation(StreamInformation)

Initializes a new instance of the StreamProtectionInformation class from the specified StreamInformation.

Properties

EncryptionType

Gets or sets the encryption type for this fragment of the content.

KeyData

Gets or sets the base64-encoded binary content key to be used to encrypt the content.

KeyId

Gets or sets the key identifier of the content key.

KeyRotationOffsetFromProgramStart

Gets or sets the offset of this key/policy rotation from program start as a TimeSpan.

KeyRotationOffsetFromProgramStartAsTimespan

Gets or sets the offset of this key/policy rotation from program start as a TimeSpan.

ProtectionSystemSpecificHeaderBoxes

Gets the data to be stored in the protection system specific header box which contains embedded licenses for live TV scenarios.

ProtectionSystemSpecificHeaderBoxesSpecified

Gets whether at least one protection system specific header box was specified.

StreamInformation

Gets the StreamInformation from the challenge identifying the fragments to protect.

TimeToNextKeyRotation

Gets or sets the time until the next key rotation.

TimeToNextKeyRotationAsTimespan

Gets or sets the time to the next key rotation as a TimeSpan.

Methods

AddProtectionSystemSpecificHeaderBoxContents(ProtectionSystemSpecificHeaderBoxContents)

Adds the protection system specific header box contents.

SetContentKeyInfo(ContentKey)

Sets the content key information.

Applies to