C# Класс Microsoft.WindowsAzure.MediaServices.Client.Tests.GetKeyDeliveryUrlTests

Показать файл Открыть проект

Открытые методы

Метод Описание
CreateTestKey ( CloudMediaContext mediaContext, ContentKeyType contentKeyType, byte &key, string name = "" ) : IContentKey
CreateTestKey ( CloudMediaContext mediaContext, ContentKeyType contentKeyType, string name = "" ) : IContentKey
CreateTestKeyWithSpecified ( string keyIdentifier, CloudMediaContext mediaContext, ContentKeyType contentKeyType, string name = "" ) : IContentKey
CreateTestPolicy ( CloudMediaContext mediaContext, string name, List policyOptions, IContentKey &contentKey ) : IContentKeyAuthorizationPolicy
GetGuidFromBase64String ( string base64keyId ) : System.Guid
GetString ( byte bytes ) : string

Приватные методы

Метод Описание
CleanupKeyAndPolicy ( IContentKey contentKey, IContentKeyAuthorizationPolicy contentKeyAuthorizationPolicy, IContentKeyAuthorizationPolicyOption policyOption ) : void
EnsureEnvelopeKeyDeliveryUrlForCommonKeyFails ( ) : void
EnsureNoneKeyDeliveryUrlFails ( ) : void
EnsurePlayReadyLicenseDeliveryUrlForEnvelopeKeyFails ( ) : void
FetchKeyWithJWTAuth ( string audience, string issuer ) : void
FetchKeyWithRSATokenValidationKeyAsPrimaryVerificationKey ( ) : void
FetchKeyWithSWTToken ( string audience, string issuer ) : void
GetHlsKeyDeliveryUrlAndFetchKey ( ) : void
GetHlsKeyDeliveryUrlAndFetchKeyWithADJWTAuthUsingADOpenConnectDiscovery ( ) : void
GetHlsKeyDeliveryUrlAndFetchKeyWithJWTAuthenticationWhenIssuerIsStringGuid ( ) : void
GetHlsKeyDeliveryUrlAndFetchKeyWithJWTAuthenticationWhenIssuerIsURI ( ) : void
GetHlsKeyDeliveryUrlAndFetchKeyWithSWTAuthenticationWhenIssuerIsStringGuidShouldThrow ( ) : void
GetHlsKeyDeliveryUrlAndFetchKeyWithSWTAuthenticationWhenIssuerIsUri ( ) : void
GetPlayReadyLicenseDeliveryUrl ( ) : void
GetWidevineKeyDeliveryUrlAndFetchLicense ( ) : void
GetWidevineKeyDeliveryUrlAndFetchLicenseWithPolicy ( ) : void
SetupTest ( ) : void

Описание методов

CreateTestKey() публичный статический Метод

public static CreateTestKey ( CloudMediaContext mediaContext, ContentKeyType contentKeyType, byte &key, string name = "" ) : IContentKey
mediaContext CloudMediaContext
contentKeyType ContentKeyType
key byte
name string
Результат IContentKey

CreateTestKey() публичный статический Метод

public static CreateTestKey ( CloudMediaContext mediaContext, ContentKeyType contentKeyType, string name = "" ) : IContentKey
mediaContext CloudMediaContext
contentKeyType ContentKeyType
name string
Результат IContentKey

CreateTestKeyWithSpecified() публичный статический Метод

public static CreateTestKeyWithSpecified ( string keyIdentifier, CloudMediaContext mediaContext, ContentKeyType contentKeyType, string name = "" ) : IContentKey
keyIdentifier string
mediaContext CloudMediaContext
contentKeyType ContentKeyType
name string
Результат IContentKey

CreateTestPolicy() публичный статический Метод

public static CreateTestPolicy ( CloudMediaContext mediaContext, string name, List policyOptions, IContentKey &contentKey ) : IContentKeyAuthorizationPolicy
mediaContext CloudMediaContext
name string
policyOptions List
contentKey IContentKey
Результат IContentKeyAuthorizationPolicy

GetGuidFromBase64String() публичный статический Метод

public static GetGuidFromBase64String ( string base64keyId ) : System.Guid
base64keyId string
Результат System.Guid

GetString() публичный статический Метод

public static GetString ( byte bytes ) : string
bytes byte
Результат string