C# 클래스 Microsoft.WindowsAzure.MediaServices.Client.Tests.GetKeyDeliveryUrlTests

파일 보기 프로젝트 열기: Azure/azure-sdk-for-media-services

공개 메소드들

메소드 설명
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