共用方式為


FileEncryption Class

Definition

Caution

The Azure Media Services StorageEncryption feature has been deprecated in favor of Azure Storage Server Side Encryption. Existing Asset files with StorageEncryption applied can be decrypted but new Assets cannot use StorageEncryption.

Provides file encryption.

[System.Obsolete("The Azure Media Services StorageEncryption feature has been deprecated in favor of Azure Storage Server Side Encryption.  Existing Asset files with StorageEncryption applied can be decrypted but new Assets cannot use StorageEncryption.")]
public class FileEncryption : IDisposable
[<System.Obsolete("The Azure Media Services StorageEncryption feature has been deprecated in favor of Azure Storage Server Side Encryption.  Existing Asset files with StorageEncryption applied can be decrypted but new Assets cannot use StorageEncryption.")>]
type FileEncryption = class
    interface IDisposable
Public Class FileEncryption
Implements IDisposable
Inheritance
FileEncryption
Attributes
Implements

Constructors

FileEncryption(Byte[], Guid)

Initializes a new instance of the FileEncryption class.

Fields

KeySizeInBitsForAes256

The key size for AES 256 in bits.

KeySizeInBytesForAes256

The key size for AES 256.

SchemeName

The name of the encryption scheme.

SchemeVersion

The version of the encryption scheme.

Properties

KeyIdentifier

Gets the key identifier.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

GetContentKey()

Gets the content key.

GetInitializationVectorForFile(String)

Gets the initialization vector for file.

GetTransform(String, Int64)

Gets the file encryption transform.

GetTransform(String)

Gets the file encryption transform.

GetTransform(UInt64, Int64)

Gets the file encryption transform.

GetTransform(UInt64)

Gets the file encryption transform.

IsInitializationVectorPresent(String)

Determines whether an initialization vector is present for the specified file name.

SetInitializationVectorForFile(String, UInt64)

Sets the initialization vector for file.

Applies to