Documentation ¶
Overview ¶
Package toc implements the metadata "table-of-contents" (TOC) client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetadataStatement ¶
func GetMetadataStatement(entry metadata.MetadataTOCPayloadEntry, suffix string, alg string, c http.Client) (metadata.MetadataStatement, error)
GetMetadataStatement iterates through a list of payload entries within a FIDO metadata table of contents object per §3.1.8, step 6 FIDO Authenticator Metadata Service https://fidoalliance.org/specs/fido-v2.0-rd-20180702/fido-metadata-service-v2.0-rd-20180702.html#metadata-toc-object-processing-rules
func ProcessMDSTOC ¶
func ProcessMDSTOC(url string, suffix string, c http.Client) (metadata.MetadataTOCPayload, string, error)
ProcessMDSTOC processes a FIDO metadata table of contents object per §3.1.8, steps 1 through 5 FIDO Authenticator Metadata Service https://fidoalliance.org/specs/fido-v2.0-rd-20180702/fido-metadata-service-v2.0-rd-20180702.html#metadata-toc-object-processing-rules
Types ¶
This section is empty.