Sha256: 317815834c09963390aa5c61cb6b039bdc99fb19fa3f5eaeac9dea7fdd15c68b

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

# frozen_string_literal: true

require 'toolrack'
require 'tlogger'

require_relative "ccrypto/version"

require_relative 'ccrypto/provider'
require_relative 'ccrypto/algo_factory'
require_relative 'ccrypto/key_bundle'

require_relative 'ccrypto/asn1'
require_relative 'ccrypto/asn1_object'

require_relative 'ccrypto/util_factory'

Dir.glob(File.join(File.dirname(__FILE__),"ccrypto","configs","*.rb")) do |f|
  require f
end

require_relative 'ccrypto/public_key'
require_relative 'ccrypto/private_key'
require_relative 'ccrypto/secret_key'

require_relative 'ccrypto/x509_cert'

module Ccrypto
  class Error < StandardError; end
  class CcryptoProviderException < StandardError; end

  class DigestEngineException < StandardError; end
  class KDFEngineException < StandardError; end
  class HMACEngineException < StandardError; end
  class KeypairEngineException < StandardError; end
  class KeyBundleException < StandardError; end
  class X509EngineException < StandardError; end
  class CipherEngineException < StandardError; end
  class ASN1EngineException < StandardError; end

  class CompressionError < StandardError; end
  class DecompressionException < StandardError; end

  class MemoryBufferException < StandardError; end

  class SecretSharingException < StandardError; end

  class X509CertException < StandardError; end
  class X509CertNotBeforeException < StandardError; end
  class X509CertNotAfterException < StandardError; end

  class KeyBundleStorageException < StandardError; end
  # Your code goes here...
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ccrypto-0.1.0 lib/ccrypto.rb