Skip to content

Class BSV::Registry::CertificateDefinitionData

Inherits: Object

Registry data for a certificate type definition.

Attributes

definition_type [R]

  • @return [String] always DefinitionType::CERTIFICATE

description [R]

  • @return [String] description of the certificate type's purpose

documentation_url [R]

  • @return [String] URL to the certificate type documentation

fields [R]

  • @return [Hash] field schema descriptors

icon_url [R]

  • @return [String] URL or opaque string for the certificate type icon

name [R]

  • @return [String] human-readable name

registry_operator [R]

  • @return [String, nil] public key hex of the registry operator

type [R]

  • @return [String] Base64-encoded certificate type identifier

Public Instance Methods

initialize(type:, name:, icon_url:, description:, documentation_url:, fields: = {}, registry_operator: = nil)

  • @param type [String]
  • @param name [String]
  • @param icon_url [String]
  • @param description [String]
  • @param documentation_url [String]
  • @param fields [Hash]
  • @param registry_operator [String, nil]
  • @return [CertificateDefinitionData] a new instance of CertificateDefinitionData