123456789_123456789_123456789_123456789_123456789_

Class: OpenSSL::PKCS7

Relationships & Source Files
Namespace Children
Classes:
Exceptions:
Inherits: Object
Defined in: ext/openssl/ossl_pkcs7.c

Constant Summary

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.newPKCS7 .new(string) ⇒ PKCS7

Many methods in this class aren't documented.

Class Method Details

.encrypt(certs, data, [, cipher [, flags]]) ⇒ PKCS7

.read_smime(string) ⇒ PKCS7

.sign(cert, key, data, [, certs [, flags]]) ⇒ PKCS7

.write_smime(pkcs7 [, data [, flags]]) ⇒ String

Instance Attribute Details

#certificates (rw)

#certificates=(ary) (rw)

#cipher=(cipher) (writeonly)

#crls (rw)

#crls=(ary) (rw)

#data (readonly)

#detached (rw)

#detached=(flag) (rw)

#detached?Boolean (rw)

#error_string (rw)

#typeString? (rw)

#type=(type) ⇒ type (rw)

Instance Method Details

#add_certificate(cert)

#add_crl(crl)

#add_data(data)

Alias for #data=.

#add_recipient(recip)

#add_signer(signer)

#data=(data) (readonly) Also known as: #add_data

#decrypt(*args)

#recipients

#signers

#to_der

#to_pem

Alias for #to_s.

#to_s Also known as: #to_pem

#verify(*args)