pub fn create_bridge_jwt(
claims: &BridgeJwtClaims,
signing_key: &SigningKey,
) -> Result<String, String>Expand description
Creates a DID-signed JWT for bridge authentication.
This is a convenience function for bridge operators to create authentication tokens. The JWT is signed with the operator’s Ed25519 signing key.
§Arguments
claims— The JWT claims payload.signing_key— The operator’s Ed25519 signing key (32 bytes).
§Errors
Returns an error string if signing fails.