다음을 통해 공유


ContentKeyPolicyFairPlayConfiguration Constructor

Definition

Initializes a new instance of ContentKeyPolicyFairPlayConfiguration.

public ContentKeyPolicyFairPlayConfiguration (byte[] applicationSecretKey, string fairPlayPfxPassword, string fairPlayPfx, Azure.ResourceManager.Media.Models.ContentKeyPolicyFairPlayRentalAndLeaseKeyType rentalAndLeaseKeyType, long rentalDuration);
new Azure.ResourceManager.Media.Models.ContentKeyPolicyFairPlayConfiguration : byte[] * string * string * Azure.ResourceManager.Media.Models.ContentKeyPolicyFairPlayRentalAndLeaseKeyType * int64 -> Azure.ResourceManager.Media.Models.ContentKeyPolicyFairPlayConfiguration
Public Sub New (applicationSecretKey As Byte(), fairPlayPfxPassword As String, fairPlayPfx As String, rentalAndLeaseKeyType As ContentKeyPolicyFairPlayRentalAndLeaseKeyType, rentalDuration As Long)

Parameters

applicationSecretKey
Byte[]

The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.

fairPlayPfxPassword
String

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

fairPlayPfx
String

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

rentalAndLeaseKeyType
ContentKeyPolicyFairPlayRentalAndLeaseKeyType

The rental and lease key type.

rentalDuration
Int64

The rental duration. Must be greater than or equal to 0.

Applies to