Skip to main content

gr_value

Function gr_value 

Source
pub fn gr_value(uri: &Uri) -> Option<&[u8]>
Expand description

The value of the gr parameter, when it has one.

Returned raw and deliberately not interpreted. A public GRUU’s value happens to be the instance ID it was minted for, but a temporary one’s must not be: §5.4 requires that “given a pair of GRUUs, it MUST be computationally infeasible to determine whether they were issued for the same AOR or instance ID or for different AORs and instance IDs”. Code that read an instance out of this parameter would work against public GRUUs and quietly mis-attribute temporary ones, which is the failure mode nobody notices until it matters.