Sha256: b084892c0155bdd99f30f9efe18752c0d853dd4aeaf54a27deb0cf2ac833ba68
Contents?: true
Size: 811 Bytes
Versions: 1
Compression:
Stored size: 811 Bytes
Contents
module Ccrypto class PrivateKey attr_accessor :native_privKey def initialize(privKey) @native_privKey = privKey end def method_missing(mtd, *args, &block) if @native_privKey.nil? super else @native_privKey.send(mtd, *args, &block) end end def respond_to_missing?(mtd, *args, &block) if @native_privKey.nil? false else @native_privKey.respond_to?(mtd) end end def native @native_privKey end end # PrivateKey class ECCPrivateKey < PrivateKey; end class RSAPrivateKey < PrivateKey; end class ED25519PrivateKey < PrivateKey; end class X25519PrivateKey < PrivateKey; end class CrystalDilithiumPrivateKey < PrivateKey; end class CrystalKyberPrivateKey < PrivateKey; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ccrypto-0.2.0 | lib/ccrypto/private_key.rb |