Class: Ccrypto::X25519Config
- Inherits:
-
KeypairConfig
- Object
- KeypairConfig
- Ccrypto::X25519Config
- Defined in:
- lib/ccrypto/configs/keypair_config.rb
Overview
X25519 for key exchange
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 ⇒ X25519Config
constructor
A new instance of X25519Config.
- #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 ⇒ X25519Config
Returns a new instance of X25519Config.
155 156 157 158 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 155 def initialize @algo = self.class.algo_key super(Algo_Active, true) end |
Class Method Details
.algo_key ⇒ Object
151 152 153 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 151 def self.algo_key :x25519 end |
.algo_name ⇒ Object
147 148 149 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 147 def self.algo_name "X25519 (Data Encipherment only)" end |
Instance Method Details
#param ⇒ Object
160 161 162 |
# File 'lib/ccrypto/configs/keypair_config.rb', line 160 def param nil end |