Class: Ccrypto::ED25519Config
- Inherits:
-
KeypairConfig
- Object
- KeypairConfig
- Ccrypto::ED25519Config
- Defined in:
- lib/ccrypto/configs/keypair_config.rb
Overview
ED25519 for data signature
Constant Summary
Constants inherited from KeypairConfig
KeypairConfig::Algo_Active, KeypairConfig::Algo_Broken, KeypairConfig::Algo_NotRecommended, KeypairConfig::Algo_Obsolete
Instance Attribute Summary
Attributes inherited from KeypairConfig
#algo, #algo_status, #default, #keypair, #private_key, #provider_config, #public_key
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ED25519Config
constructor
A new instance of ED25519Config.
- #param ⇒ Object
Methods inherited from KeypairConfig
#has_keypair?, #has_private_key?, #has_public_key?, #is_default_algo?, keypair_purposes, supported_keypair_config
Methods included from AlgoConfig
Constructor Details
#initialize ⇒ ED25519Config
Returns a new instance of ED25519Config.
135 136 137 138 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 135 def initialize @algo = self.class.algo_key super(Algo_Active, true) end |
Class Method Details
.algo_key ⇒ Object
131 132 133 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 131 def self.algo_key :ed25519 end |
.algo_name ⇒ Object
127 128 129 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 127 def self.algo_name "ED25519 (Classical - Signing Only)" end |
Instance Method Details
#param ⇒ Object
140 141 142 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 140 def param nil end |