Class: OpenSSL::PKCS7::PKCS7

Inherits:
OpenSSL::PKCS7 show all
Defined in:
lib/openssl/pkcs7.rb

Overview

This class is only provided for backwards compatibility. Use OpenSSL::PKCS7 in the future.

Constant Summary

Constants inherited from OpenSSL::PKCS7

Signer

Instance Method Summary collapse

Methods inherited from OpenSSL::PKCS7

#add_certificate, #add_crl, #add_data, #add_recipient, #add_signer, #certificates, #certificates=, #cipher=, #crls, #crls=, #decrypt, #detached, #detached=, #detached?, encrypt, read_smime, #recipients, sign, #signers, #to_der, #to_pem, #type, #type=, #verify, write_smime

Constructor Details

#initialize(*args) ⇒ PKCS7

Returns a new instance of PKCS7.



16
17
18
19
20
# File 'lib/openssl/pkcs7.rb', line 16

def initialize(*args)
  super(*args)

  warn("Warning: OpenSSL::PKCS7::PKCS7 is deprecated after Ruby 1.9; use OpenSSL::PKCS7 instead")
end