ContentKeyPolicyFairPlayConfiguration Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET