Skip to main content

Method Object

The method object, nested within encryptionInformation, describes the symmetric encryption algorithm and parameters used to encrypt the payload.

Example

"method": {
"algorithm": "AES-256-GCM",
"isStreamable": true,
"iv": "D6s7cSgFXzhVkran" // Base64 encoded IV
}

Fields

ParameterTypeDescriptionRequired?
algorithmStringThe symmetric encryption algorithm used. AES-256-GCM is the recommended and commonly implemented algorithm.Yes
isStreamableBooleanIndicates if the payload was encrypted in segments suitable for streaming decryption. If true, integrityInformation MUST contain segment details.Yes
ivStringThe Base64 encoded Initialization Vector (IV) used with the symmetric algorithm. MUST be unique for each TDF encrypted with the same key. For AES-GCM, typically 12 bytes (96 bits).Yes