addRawSignatureMapEntry

fun addRawSignatureMapEntry(entry: SorobanAuthorizationEntryXdr, signerKey: SCValXdr, signatureValue: SCValXdr, contextRuleIds: List<UInt> = emptyList()): SorobanAuthorizationEntryXdr

Adds a raw key/value entry to the auth entry's signature map.

Used for delegated signer placeholders where the value is Bytes(empty) rather than a double-XDR-encoded signature. Uses the v0.7.0 AuthPayload format.

Return

A new auth entry with the map entry added

Parameters

entry

The auth entry to modify

signerKey

The signer identity ScVal (map key)

signatureValue

The raw ScVal to use as the map value. If SCValXdr.Bytes, the bytes are stored directly. Otherwise the value is XDR-encoded and the resulting bytes stored.

contextRuleIds

The context rule IDs to bind into the payload (optional).