Sha256: abdb2e0f83625ee042f24b8dd8f67ad64c097db7261f05457d6d301b8e50d7ca

Contents?: true

Size: 897 Bytes

Versions: 1

Compression:

Stored size: 897 Bytes

Contents

warn "Warning: OpenSSL ASN1/PKey/X509/Netscape/PKCS7 implementation unavailable"
warn "You need to download or install BouncyCastle jars (bc-prov-*.jar, bc-mail-*.jar)"
warn "to fix this."
module OpenSSL
  module ASN1
    class ASN1Error < OpenSSLError; end
    class ASN1Data; end
    class Primitive; end
    class Constructive; end
  end
  module X509
    class Name; end
    class Certificate; end
    class Extension; end
    class CRL; end
    class Revoked; end
    class Store
      def set_default_paths; end
    end
    class Request; end
    class Attribute; end
  end
  module Netscape
    class SPKI; end
  end
  class PKCS7
    # this definition causes TypeError "superclass mismatch for class PKCS7"
    # MRI also crashes following definition;
    #   class Foo; class Foo < Foo; end; end
    #   class Foo; class Foo < Foo; end; end
    #
    # class PKCS7 < PKCS7; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby-openssl-0.7 lib/openssl/dummy.rb