Compartilhar via


ContentKeyPolicyFairPlayConfiguration Construtor

Definição

Inicializa uma nova instância de 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)

Parâmetros

applicationSecretKey
Byte[]

A chave que deve ser usada como chave do Segredo do Aplicativo FairPlay. Isso precisa ser codificado em base64.

fairPlayPfxPassword
String

A senha que criptografa o certificado FairPlay no formato PKCS 12 (pfx).

fairPlayPfx
String

A representação Base64 do certificado FairPlay no formato PKCS 12 (pfx) (incluindo chave privada).

rentalAndLeaseKeyType
ContentKeyPolicyFairPlayRentalAndLeaseKeyType

O tipo de chave de aluguel e concessão.

rentalDuration
Int64

A duração do aluguel. Deve ser maior que ou igual a 0.

Aplica-se a