lib/ccrypto/secret_key.rb in ccrypto-0.1.3 vs lib/ccrypto/secret_key.rb in ccrypto-0.2.0
- old
+ new
@@ -1,13 +1,18 @@
module Ccrypto
class SecretKey
- attr_accessor :algo
- attr_accessor :key
+ attr_reader :algo, :keysize
- def initialize(algo, key)
+ attr_reader :native_key
+
+ attr_accessor :provider_config
+
+ def initialize(algo, keysize, key)
@algo = algo
- @key = key
+ @keysize = keysize
+ @native_key = key
end
+
end
end