C# Class Microsoft.WindowsAzure.MediaServices.Client.FairPlay.FairPlayConfiguration

Configuration for FairPlay Authorization Policy Option. Key Delivery will use these values for generating FairPlay CKC.
Mostrar archivo Open project: Azure/azure-sdk-for-media-services Class Usage Examples

Public Methods

Method Description
CreateSerializedFairPlayOptionConfiguration ( X509Certificate2 appCertificate, string pfxPassword, System.Guid pfxPasswordKeyId, System.Guid askId, byte contentIv ) : string

Creates a string that can be used as FairPlay Policy Option Configuration.

Method Details

CreateSerializedFairPlayOptionConfiguration() public static method

Creates a string that can be used as FairPlay Policy Option Configuration.
public static CreateSerializedFairPlayOptionConfiguration ( X509Certificate2 appCertificate, string pfxPassword, System.Guid pfxPasswordKeyId, System.Guid askId, byte contentIv ) : string
appCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 FairPlay application certificate.
pfxPassword string Password protecting FairPlay application certificate.
pfxPasswordKeyId System.Guid Id of the key storing the password protecting /// FairPlay application certificate.
askId System.Guid Id of the FairPlay Aplication Secret key.
contentIv byte Initialization Vector used for encrypting the content.
return string