Class: SBOM::CycloneDX::Record::CipherSuite

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

Overview

Schema name: CipherSuite

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 ⇒ CipherSuite

Returns a new instance of CipherSuite.

Parameters:

  • name: (String, nil)
  • algorithms: (Array[String], nil)
  • identifiers: (Array[String], nil)


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

def initialize: (?name: String?, ?algorithms: Array[String]?, ?identifiers: Array[String]?) -> void

Instance Method Details

#algorithms ⇒ Array[String]?

Returns:

  • (Array[String], nil)


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

def algorithms: () -> Array[String]?

#algorithms= ⇒ Array[String]?

Parameters:

  • (Array[String], nil)

Returns:

  • (Array[String], nil)


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

def algorithms=: (Array[String]?) -> Array[String]?

#algorithms? ⇒ Boolean

Returns:

  • (Boolean)


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

def algorithms?: () -> bool

#algorithms_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def algorithms_valid?: () -> bool

#identifiers ⇒ Array[String]?

Returns:

  • (Array[String], nil)


17
# File 'sig/sbom/cyclone_dx/record/cipher_suite.rbs', line 17

def identifiers: () -> Array[String]?

#identifiers= ⇒ Array[String]?

Parameters:

  • (Array[String], nil)

Returns:

  • (Array[String], nil)


18
# File 'sig/sbom/cyclone_dx/record/cipher_suite.rbs', line 18

def identifiers=: (Array[String]?) -> Array[String]?

#identifiers? ⇒ Boolean

Returns:

  • (Boolean)


19
# File 'sig/sbom/cyclone_dx/record/cipher_suite.rbs', line 19

def identifiers?: () -> bool

#identifiers_valid? ⇒ Boolean

Returns:

  • (Boolean)


20
# File 'sig/sbom/cyclone_dx/record/cipher_suite.rbs', line 20

def identifiers_valid?: () -> bool

#name ⇒ String?

Returns:

  • (String, nil)


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

def name: () -> String?

#name= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#name? ⇒ Boolean

Returns:

  • (Boolean)


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

def name?: () -> bool

#name_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def name_valid?: () -> bool