Class: SBOM::CycloneDX::Record::CryptoProperties::CertificateProperties

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: CertificateProperties

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

Returns a new instance of CertificateProperties.

Parameters:

  • subject_name: (String, nil)
  • issuer_name: (String, nil)
  • not_valid_before: (dateTime, nil)
  • not_valid_after: (dateTime, nil)
  • signature_algorithm_ref: (String, nil)
  • subject_public_key_ref: (String, nil)
  • certificate_format: (String, nil)
  • certificate_extension: (String, nil)


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

def initialize: (?subject_name: String?, ?issuer_name: String?, ?not_valid_before: dateTime?, ?not_valid_after: dateTime?, ?signature_algorithm_ref: String?, ?subject_public_key_ref: String?, ?certificate_format: String?, ?certificate_extension: String?) -> void

Instance Method Details

#certificate_extension ⇒ String?

Returns:

  • (String, nil)


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

def certificate_extension: () -> String?

#certificate_extension= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#certificate_extension? ⇒ Boolean

Returns:

  • (Boolean)


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

def certificate_extension?: () -> bool

#certificate_extension_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def certificate_extension_valid?: () -> bool

#certificate_format ⇒ String?

Returns:

  • (String, nil)


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

def certificate_format: () -> String?

#certificate_format= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#certificate_format? ⇒ Boolean

Returns:

  • (Boolean)


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

def certificate_format?: () -> bool

#certificate_format_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def certificate_format_valid?: () -> bool

#issuer_name ⇒ String?

Returns:

  • (String, nil)


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

def issuer_name: () -> String?

#issuer_name= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#issuer_name? ⇒ Boolean

Returns:

  • (Boolean)


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

def issuer_name?: () -> bool

#issuer_name_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def issuer_name_valid?: () -> bool

#not_valid_after ⇒ dateTime?

Returns:

  • (dateTime, nil)


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

def not_valid_after: () -> dateTime?

#not_valid_after= ⇒ dateTime?

Parameters:

  • (dateTime, nil)

Returns:

  • (dateTime, nil)


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

def not_valid_after=: (dateTime?) -> dateTime?

#not_valid_after? ⇒ Boolean

Returns:

  • (Boolean)


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

def not_valid_after?: () -> bool

#not_valid_after_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def not_valid_after_valid?: () -> bool

#not_valid_before ⇒ dateTime?

Returns:

  • (dateTime, nil)


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

def not_valid_before: () -> dateTime?

#not_valid_before= ⇒ dateTime?

Parameters:

  • (dateTime, nil)

Returns:

  • (dateTime, nil)


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

def not_valid_before=: (dateTime?) -> dateTime?

#not_valid_before? ⇒ Boolean

Returns:

  • (Boolean)


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

def not_valid_before?: () -> bool

#not_valid_before_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def not_valid_before_valid?: () -> bool

#signature_algorithm_ref ⇒ String?

Returns:

  • (String, nil)


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

def signature_algorithm_ref: () -> String?

#signature_algorithm_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#signature_algorithm_ref? ⇒ Boolean

Returns:

  • (Boolean)


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

def signature_algorithm_ref?: () -> bool

#signature_algorithm_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def signature_algorithm_ref_valid?: () -> bool

#subject_name ⇒ String?

Returns:

  • (String, nil)


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

def subject_name: () -> String?

#subject_name= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#subject_name? ⇒ Boolean

Returns:

  • (Boolean)


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

def subject_name?: () -> bool

#subject_name_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def subject_name_valid?: () -> bool

#subject_public_key_ref ⇒ String?

Returns:

  • (String, nil)


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

def subject_public_key_ref: () -> String?

#subject_public_key_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#subject_public_key_ref? ⇒ Boolean

Returns:

  • (Boolean)


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

def subject_public_key_ref?: () -> bool

#subject_public_key_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def subject_public_key_ref_valid?: () -> bool