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

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

Overview

Schema name: ECPublicKey

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

Returns a new instance of EC.

Parameters:

  • crv: (String)
  • x: (String)
  • y: (String)


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

def initialize: (crv: String, x: String, y: String) -> void

Instance Method Details

#crv ⇒ String

Returns:

  • (String)


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

def crv: () -> String

#crv= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def crv=: (String) -> String

#crv? ⇒ Boolean

Returns:

  • (Boolean)


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

def crv?: () -> bool

#crv_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def crv_valid?: () -> bool

#kty ⇒ "EC"

Returns:



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

def kty: () -> "EC"

#kty? ⇒ true

Returns:

  • (true)


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

def kty?: () -> true

#kty_valid? ⇒ true

Returns:

  • (true)


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

def kty_valid?: () -> true

#x ⇒ String

Returns:

  • (String)


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

def x: () -> String

#x= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def x=: (String) -> String

#x? ⇒ Boolean

Returns:

  • (Boolean)


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

def x?: () -> bool

#x_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def x_valid?: () -> bool

#y ⇒ String

Returns:

  • (String)


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

def y: () -> String

#y= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def y=: (String) -> String

#y? ⇒ Boolean

Returns:

  • (Boolean)


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

def y?: () -> bool

#y_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def y_valid?: () -> bool