Documentation
¶
Overview ¶
Package pushreg owns the registration transcripts shared by the phone and push gateway.
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 RegistrationProofMessage ¶ added in v0.13.28
RegistrationProofMessage returns the bytes signed by the installation key when registering. It binds the proof to both the retry identity and the exact transmitted body without copying secret body contents into the signed transcript.
func RequestHash ¶
RequestHash is SHA-256 of CanonicalRegistration.
Types ¶
This section is empty.