C# 클래스 DynamicEncryptionWithAES.Program

파일 보기 프로젝트 열기: Azure-Samples/media-services-dotnet-dynamic-encryption-with-aes

공개 메소드들

메소드 설명
AddOpenAuthorizationPolicy ( IContentKey contentKey ) : void
AddTokenRestrictedAuthorizationPolicy ( IContentKey contentKey ) : string
CreateAssetDeliveryPolicy ( IAsset asset, IContentKey key ) : void
CreateEnvelopeTypeContentKey ( IAsset asset ) : IContentKey
EncodeToAdaptiveBitrateMP4Set ( IAsset asset ) : IAsset
GetStreamingOriginLocator ( IAsset asset ) : string
UploadFileAndCreateAsset ( string singleFilePath ) : IAsset

비공개 메소드들

메소드 설명
GenerateTokenRequirements ( ) : string
GetLatestMediaProcessorByName ( string mediaProcessorName ) : IMediaProcessor
GetRandomBuffer ( int size ) : byte[]
JobStateChanged ( object sender, JobStateChangedEventArgs e ) : void
Main ( string args ) : void

메소드 상세

AddOpenAuthorizationPolicy() 공개 정적인 메소드

public static AddOpenAuthorizationPolicy ( IContentKey contentKey ) : void
contentKey IContentKey
리턴 void

AddTokenRestrictedAuthorizationPolicy() 공개 정적인 메소드

public static AddTokenRestrictedAuthorizationPolicy ( IContentKey contentKey ) : string
contentKey IContentKey
리턴 string

CreateAssetDeliveryPolicy() 공개 정적인 메소드

public static CreateAssetDeliveryPolicy ( IAsset asset, IContentKey key ) : void
asset IAsset
key IContentKey
리턴 void

CreateEnvelopeTypeContentKey() 공개 정적인 메소드

public static CreateEnvelopeTypeContentKey ( IAsset asset ) : IContentKey
asset IAsset
리턴 IContentKey

EncodeToAdaptiveBitrateMP4Set() 공개 정적인 메소드

public static EncodeToAdaptiveBitrateMP4Set ( IAsset asset ) : IAsset
asset IAsset
리턴 IAsset

GetStreamingOriginLocator() 공개 정적인 메소드

public static GetStreamingOriginLocator ( IAsset asset ) : string
asset IAsset
리턴 string

UploadFileAndCreateAsset() 공개 정적인 메소드

public static UploadFileAndCreateAsset ( string singleFilePath ) : IAsset
singleFilePath string
리턴 IAsset