Sha256: afb34b1322b56670bc1f59b604bd8e6db170a0bf81b322f932a9c130988a19bb

Contents?: true

Size: 732 Bytes

Versions: 3

Compression:

Stored size: 732 Bytes

Contents


module CcipherFactory
  module AsymKeySigner

    class ASKSigner; end
    class ASKVerifier; end

    class AsymKeySignerError < StandardError; end

    def self.signer(eng = :ecc)
      s = ASKSigner.new
      s.extend(ECCSigner)
      s
    end

    def self.verifier(eng = :ecc)
      s = ASKSigner.new
      s.extend(ECCVerifier)
      s
    end

    def self.att_signer(eng = :ecc)
      s = ASKSigner.new
      s.extend(ECCAttSigner)
      s
    end

    def self.att_verifier(eng = :ecc)
      s = ASKSigner.new
      s.extend(ECCAttVerifier)
      s
    end


  end
end

require_relative 'ecc/ecc_signer'
require_relative 'ecc/ecc_verifier'

require_relative 'ecc/ecc_att_signer'
require_relative 'ecc/ecc_att_verifier'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ccipher_factory-0.1.2 lib/ccipher_factory/asymkey_cipher/asymkey_signer.rb
ccipher_factory-0.1.1 lib/ccipher_factory/asymkey_cipher/asymkey_signer.rb
ccipher_factory-0.1.0 lib/ccipher_factory/asymkey_cipher/asymkey_signer.rb