Amazon Vinyl
    Preparing search index...

    Interface EncryptionKey

    Encryption key metadata for an HLS media segment (EXT-X-KEY).

    Specifies how media segments are encrypted and provides the information needed to decrypt them.

    interface EncryptionKey {
        iv?: string;
        keyFormat?: string;
        keyFormatVersions?: string;
        method: EncryptionMethod;
        uri?: string;
    }
    Index
    iv?: string

    The initialization vector for decryption as a hexadecimal string (IV).

    keyFormat?: string

    The format of the key in the response (KEYFORMAT). Identifies the DRM system, e.g. FairPlay.

    keyFormatVersions?: string

    A slash-separated list of integers indicating compatible key format versions (KEYFORMATVERSIONS).

    The encryption method applied to media segments (METHOD).

    uri?: string

    The URI for obtaining the decryption key (URI). Required unless method is NONE.