Class: SBOM::CycloneDX::Record::SecuredBy

Inherits:
Base
  • Object
show all
Defined in:
lib/sbom/cyclone_dx/record/secured_by.rb,
sig/sbom/cyclone_dx/record/secured_by.rbs

Overview

Schema name: SecuredBy

Constant Summary

Constants inherited from Base

Base::Record

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#<=>, const, custom_validators, fields, #formatted_errors, json_create, json_name, prop, #valid!, #valid?, validate

Methods included from _Klass

#const, #const_names, #create, #create!, #custom_validators, #fields, #json_name, #prop, #prop_names, #validate

Methods included from _Instance

#as_json, #errors, #formatted_errors, #to_json, #valid?

Constructor Details

#initialize ⇒ SecuredBy

Returns a new instance of SecuredBy.

Parameters:

  • mechanism: (String, nil)
  • algorithm_ref: (String, nil)


5
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 5

def initialize: (?mechanism: String?, ?algorithm_ref: String?) -> void

Instance Method Details

#algorithm_ref ⇒ String?

Returns:

  • (String, nil)


12
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 12

def algorithm_ref: () -> String?

#algorithm_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


13
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 13

def algorithm_ref=: (String?) -> String?

#algorithm_ref? ⇒ Boolean

Returns:

  • (Boolean)


14
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 14

def algorithm_ref?: () -> bool

#algorithm_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


15
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 15

def algorithm_ref_valid?: () -> bool

#mechanism ⇒ String?

Returns:

  • (String, nil)


7
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 7

def mechanism: () -> String?

#mechanism= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


8
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 8

def mechanism=: (String?) -> String?

#mechanism? ⇒ Boolean

Returns:

  • (Boolean)


9
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 9

def mechanism?: () -> bool

#mechanism_valid? ⇒ Boolean

Returns:

  • (Boolean)


10
# File 'sig/sbom/cyclone_dx/record/secured_by.rbs', line 10

def mechanism_valid?: () -> bool