encStructure
fun encStructure(protected: ByteArray, externalAad: ByteArray, context: String = "Encrypt0"): ByteArray(source)
Enc_structure = [ context, protected, external_aad ] (RFC 9052 §5.3), the AEAD associated data for COSE_Encrypt0. OSCORE (RFC 8613 §5.4) and EDHOC (RFC 9528 §5.3.2) use it with context "Encrypt0".