Class: GOBL::DSig::Digest

Inherits:
Object show all
Defined in:
lib/generated/gobl/dsig/digest.rb

Overview

Digest defines a structure to hold a digest value including the algorithm used to generate it.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Digest structure

'https://gobl.org/draft-0/dsig/digest'

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#algString (readonly)

Algorithm stores the algorithm key that was used to generate the value.

Returns:

  • (String)


19
# File 'lib/generated/gobl/dsig/digest.rb', line 19

property :alg, String

#valString (readonly)

Value contains the Hexadecimal representation of the resulting hash generated by the algorithm.

Returns:

  • (String)


25
# File 'lib/generated/gobl/dsig/digest.rb', line 25

property :val, String