Class: SBOM::CycloneDX::Record::CryptoProperties::ProtocolProperties

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

Overview

Schema name: ProtocolProperties

Defined Under Namespace

Classes: IKEv2TransformType

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

Returns a new instance of ProtocolProperties.

Parameters:

  • type: (String, nil)
  • version: (String, nil)
  • cipher_suites: (Array[CipherSuite], nil)
  • ikev2_transform_types: (IKEv2TransformType, nil)
  • crypto_ref_array: (Array[String], nil)


142
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 142

def initialize: (?type: String?, ?version: String?, ?cipher_suites: Array[CipherSuite]?, ?ikev2_transform_types: IKEv2TransformType?, ?crypto_ref_array: Array[String]?) -> void

Instance Method Details

#cipher_suites ⇒ Array[CipherSuite]?

Returns:



154
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 154

def cipher_suites: () -> Array[CipherSuite]?

#cipher_suites= ⇒ Array[CipherSuite]?

Parameters:

Returns:



155
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 155

def cipher_suites=: (Array[CipherSuite]?) -> Array[CipherSuite]?

#cipher_suites? ⇒ Boolean

Returns:

  • (Boolean)


156
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 156

def cipher_suites?: () -> bool

#cipher_suites_valid? ⇒ Boolean

Returns:

  • (Boolean)


157
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 157

def cipher_suites_valid?: () -> bool

#crypto_ref_array ⇒ Array[String]?

Returns:

  • (Array[String], nil)


164
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 164

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

#crypto_ref_array= ⇒ Array[String]?

Parameters:

  • (Array[String], nil)

Returns:

  • (Array[String], nil)


165
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 165

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

#crypto_ref_array? ⇒ Boolean

Returns:

  • (Boolean)


166
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 166

def crypto_ref_array?: () -> bool

#crypto_ref_array_valid? ⇒ Boolean

Returns:

  • (Boolean)


167
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 167

def crypto_ref_array_valid?: () -> bool

#ikev2_transform_types ⇒ IKEv2TransformType?

Returns:



159
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 159

def ikev2_transform_types: () -> IKEv2TransformType?

#ikev2_transform_types= ⇒ IKEv2TransformType?

Parameters:

Returns:



160
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 160

def ikev2_transform_types=: (IKEv2TransformType?) -> IKEv2TransformType?

#ikev2_transform_types? ⇒ Boolean

Returns:

  • (Boolean)


161
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 161

def ikev2_transform_types?: () -> bool

#ikev2_transform_types_valid? ⇒ Boolean

Returns:

  • (Boolean)


162
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 162

def ikev2_transform_types_valid?: () -> bool

#type ⇒ String?

Returns:

  • (String, nil)


144
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 144

def type: () -> String?

#type= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


145
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 145

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

#type? ⇒ Boolean

Returns:

  • (Boolean)


146
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 146

def type?: () -> bool

#type_valid? ⇒ Boolean

Returns:

  • (Boolean)


147
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 147

def type_valid?: () -> bool

#version ⇒ String?

Returns:

  • (String, nil)


149
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 149

def version: () -> String?

#version= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


150
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 150

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

#version? ⇒ Boolean

Returns:

  • (Boolean)


151
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 151

def version?: () -> bool

#version_valid? ⇒ Boolean

Returns:

  • (Boolean)


152
# File 'sig/sbom/cyclone_dx/record/crypto_properties.rbs', line 152

def version_valid?: () -> bool