lib/ccrypto/key_bundle.rb in ccrypto-0.1.0 vs lib/ccrypto/key_bundle.rb in ccrypto-0.1.2

- old
+ new

@@ -1,15 +1,28 @@ module Ccrypto module KeyBundle attr_accessor :nativeKeypair + + def KeyBundle.from_storage(*args, &block) + Provider.instance.provider.keybundle_from_storage(*args, &block) + end + end module ECCKeyBundle include KeyBundle end module RSAKeyBundle + include KeyBundle + end + + module ED25519KeyBundle + include KeyBundle + end + + module X25519KeyBundle include KeyBundle end end