Class: SBOM::CycloneDX::Record::Signature::JSFSignature::PublicKey::RSA

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

Overview

Schema name: RSAPublicKey

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

Returns a new instance of RSA.

Parameters:

  • n: (String)
  • e: (String)


57
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 57

def initialize: (n: String, e: String) -> void

Instance Method Details

#e ⇒ String

Returns:

  • (String)


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

def e: () -> String

#e= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def e=: (String) -> String

#e? ⇒ Boolean

Returns:

  • (Boolean)


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

def e?: () -> bool

#e_valid? ⇒ Boolean

Returns:

  • (Boolean)


71
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 71

def e_valid?: () -> bool

#kty ⇒ "RSA"

Returns:



59
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 59

def kty: () -> "RSA"

#kty? ⇒ true

Returns:

  • (true)


60
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 60

def kty?: () -> true

#kty_valid? ⇒ true

Returns:

  • (true)


61
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 61

def kty_valid?: () -> true

#n ⇒ String

Returns:

  • (String)


63
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 63

def n: () -> String

#n= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


64
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 64

def n=: (String) -> String

#n? ⇒ Boolean

Returns:

  • (Boolean)


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

def n?: () -> bool

#n_valid? ⇒ Boolean

Returns:

  • (Boolean)


66
# File 'sig/sbom/cyclone_dx/record/signature.rbs', line 66

def n_valid?: () -> bool