Module: Ccrypto::KeyBundle
- Included in:
- ECCKeyBundle, ED25519KeyBundle, RSAKeyBundle, X25519KeyBundle
- Defined in:
- lib/ccrypto/key_bundle.rb
Instance Attribute Summary collapse
-
#nativeKeypair ⇒ Object
readonly
Returns the value of attribute nativeKeypair.
Class Method Summary collapse
Instance Method Summary collapse
- #native ⇒ Object (also: #keypair)
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(mtd, *args, &block) ⇒ Object (private)
17 18 19 20 21 22 23 24 |
# File 'lib/ccrypto/key_bundle.rb', line 17 def method_missing(mtd, *args, &block) if not @nativeKeypair.nil? logger.debug "Sending to method #{mtd} of object '#{@nativeKeypair}' at KeyBundle level" @nativeKeypair.send(mtd, *args, &block) else super end end |
Instance Attribute Details
#nativeKeypair ⇒ Object (readonly)
Returns the value of attribute nativeKeypair.
5 6 7 |
# File 'lib/ccrypto/key_bundle.rb', line 5 def nativeKeypair @nativeKeypair end |
Class Method Details
Instance Method Details
#native ⇒ Object Also known as: keypair
11 12 13 |
# File 'lib/ccrypto/key_bundle.rb', line 11 def native @nativeKeypair end |