@opentdf/sdk
    Preparing search index...

    Type Alias EncryptionInformation

    type EncryptionInformation = {
        integrityInformation: {
            encryptedSegmentSizeDefault?: number;
            rootSignature: { alg: string; sig: string };
            segmentHashAlg?: string;
            segments: Segment[];
            segmentSizeDefault?: number;
        };
        keyAccess: KeyAccessObject[];
        method: { algorithm: string; isStreamable: boolean; iv: string };
        policy: string;
        type: SplitType;
    }
    Index
    integrityInformation: {
        encryptedSegmentSizeDefault?: number;
        rootSignature: { alg: string; sig: string };
        segmentHashAlg?: string;
        segments: Segment[];
        segmentSizeDefault?: number;
    }

    Type Declaration

    • OptionalencryptedSegmentSizeDefault?: number
    • ReadonlyrootSignature: { alg: string; sig: string }
      • alg: string

        Algorithm declared by the file. Untrusted until validated on read; only HS256 is accepted (see asRootIntegrityAlgorithm). Typed as a plain string because a hostile manifest may say anything.

      • sig: string
    • OptionalsegmentHashAlg?: string

      Untrusted until validated on read; GMAC and HS256 are accepted.

    • segments: Segment[]
    • OptionalsegmentSizeDefault?: number
    keyAccess: KeyAccessObject[]
    method: { algorithm: string; isStreamable: boolean; iv: string }
    policy: string
    type: SplitType