Sha256: fe8058c4035ae1f76109c7c0eec178ca8efe2f97d5c8d67015c62144a1070da9

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

# frozen_string_literal: true

require 'toolrack'
require 'teLogger'

require_relative "ccrypto/version"

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

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'
require_relative 'ccrypto/x509_csr'

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 X509CSRException < StandardError; end
  class X509CSRSignatureInvalid < 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...

  Root_OID = ["2","0","18"]

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ccrypto-0.1.3 lib/ccrypto.rb