Altcha.V1.ServerSignatureVerificationData (Altcha v2.4.0)

Copy Markdown View Source

Represents data for verifying server signatures.

Summary

Functions

Converts JSON to a ServerSignatureVerificationData struct. Unknown keys are ignored. Raises ArgumentError if the JSON is not an object.

Converts a ServerSignatureVerificationData struct to JSON.

Converts a ServerSignatureVerificationData struct to a JSON-encodable map in the wire format.

Functions

from_json(json)

Converts JSON to a ServerSignatureVerificationData struct. Unknown keys are ignored. Raises ArgumentError if the JSON is not an object.

to_json(verification_data)

Converts a ServerSignatureVerificationData struct to JSON.

to_map(server_signature_verification_data)

Converts a ServerSignatureVerificationData struct to a JSON-encodable map in the wire format.