parse Signature Header
Deprecated
Use com.soneso.stellar.sdk.sep.common.CallbackSignatureVerifier for callback verification. Header parsing is handled internally by the new class; if you need to inspect the timestamp separately, parse it from the header value yourself.
Parses the signature header into timestamp and signature components.
Header format: "t=<timestamp>, s=<signature>".
The parser is intentionally permissive (splits on commas and looks up t and s keys) and is preserved verbatim from the v0.6.0 implementation. It is NOT routed through the new class's tightened regex, so headers that the new class would reject as MalformedHeader (e.g. trailing ; v=1) may still parse successfully here. Acceptable deprecation cost.
Return
Pair of (timestamp, base64Signature).
Parameters
The Signature or X-Stellar-Signature header value.
Throws
if the header format is invalid.
Example:
val (timestamp, signature) = CallbackSignatureVerifier.parseSignatureHeader(
"t=1234567890, s=SGVsbG8gV29ybGQh"
)
// timestamp = 1234567890
// signature = "SGVsbG8gV29ybGQh"