Documentation
¶
Overview ¶
Package pushreg owns the serialization shared by the phone's Play Integrity request and the push gateway's independent recomputation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalRegistration ¶
CanonicalRegistration returns the RFC 8785/JCS representation of the closed registration schema after replacing attestation.token with the empty string. The schema contains only objects and strings, so RFC 8785's number serialization rules do not enter this protocol. Its fixed ASCII member names are emitted in UTF-16 code-unit order.
func RequestHash ¶
RequestHash is SHA-256 of CanonicalRegistration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.