Sha256: 85bc9a50ba95b6bba3da5c17b81b1db89e6156ce94f969164c2a72ae265afcf7
Contents?: true
Size: 641 Bytes
Versions: 2
Compression:
Stored size: 641 Bytes
Contents
module Ccrypto class PublicKey attr_accessor :native_pubKey def initialize(pubkey) @native_pubKey = pubkey end def method_missing(mtd, *args, &block) if @native_pubKey.nil? super else @native_pubKey.send(mtd, *args, &block) end end def respond_to_missing?(mtd, *args, &block) if @native_pubKey.nil? false else @native_pubKey.respond_to?(mtd) end end end # PublicKey class ECCPublicKey < PublicKey; end class RSAPublicKey < PublicKey; end class ED25519PublicKey < PublicKey; end class X25519PublicKey < PublicKey; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ccrypto-0.1.3 | lib/ccrypto/public_key.rb |
ccrypto-0.1.2 | lib/ccrypto/public_key.rb |