Class: CryptoconditionsRuby::Types::InvertedThresholdSha256Fulfillment

Inherits:
ThresholdSha256Fulfillment show all
Defined in:
lib/cryptoconditions_ruby/types/inverted_threshold_sha_256_fulfillment.rb

Constant Summary collapse

TYPE_ID =
98
FEATURE_BITMASK =
0x09

Constants inherited from Fulfillment

Fulfillment::REGEX

Instance Attribute Summary

Attributes inherited from ThresholdSha256Fulfillment

#bitmask, #subconditions, #threshold

Instance Method Summary collapse

Methods inherited from ThresholdSha256Fulfillment

#add_subcondition, #add_subcondition_uri, #add_subfulfillment, #add_subfulfillment_uri, #calculate_max_fulfillment_length, calculate_smallest_valid_fulfillment_set, calculate_worst_case_length, #get_subcondition_from_vk, #initialize, #parse_dict, #parse_payload, predict_subcondition_length, predict_subfulfillment_length, sort_buffers, #to_dict, #write_hash_payload, #write_payload

Methods inherited from BaseSha256Fulfillment

#generate_hash, #write_hash_payload

Methods inherited from Fulfillment

#bitmask, #calculate_max_fulfillment_length, #condition, #condition_binary, #condition_uri, from_binary, from_dict, from_uri, #generate_hash, #parse_dict, #parse_payload, #serialize_binary, #serialize_payload, #serialize_uri, #to_dict, #type_id, #write_payload

Methods included from Crypto::Helpers

#base64_add_padding, #base64_remove_padding, #ed25519_generate_key_pair

Constructor Details

This class inherits a constructor from CryptoconditionsRuby::Types::ThresholdSha256Fulfillment

Instance Method Details

#validate(message: nil, **kwargs) ⇒ Object



10
11
12
# File 'lib/cryptoconditions_ruby/types/inverted_threshold_sha_256_fulfillment.rb', line 10

def validate(message: nil, **kwargs)
  !super
end