Class: OpenSSL::PKCS7
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Exceptions:
| |
Inherits: | Object |
Defined in: | ext/openssl/ossl_pkcs7.c |
Overview
INIT
Constant Summary
-
Signer =
# File 'ext/openssl/ossl_pkcs7.c', line 1063cPKCS7Signer
Class Method Summary
- .encrypt(certs, data, [, cipher [, flags]]) ⇒ PKCS7
-
.new ⇒ PKCS7
constructor
Many methods in this class aren't documented.
- .read_smime(string) ⇒ PKCS7
- .sign(cert, key, data, [, certs [, flags]]) ⇒ PKCS7
- .write_smime(pkcs7 [, data [, flags]]) ⇒ String
Instance Attribute Summary
- #certificates rw
- #certificates=(ary) rw
- #crls rw
- #crls=(ary) rw
- #detached rw
- #detached=(flag) rw
- #detached? ⇒ Boolean rw
- #error_string rw
- #type ⇒ String? rw
- #type=(type) ⇒ type rw
- #data readonly
- #cipher=(cipher) writeonly
Instance Method Summary
- #add_certificate(cert)
- #add_crl(crl)
-
#add_data(data)
Alias for #data=.
- #add_recipient(recip)
- #add_signer(signer)
- #data=(data) (also: #add_data) readonly
- #decrypt(*args)
- #recipients
- #signers
- #to_der
-
#to_pem
Alias for #to_s.
- #to_s (also: #to_pem)
- #verify(*args)
Constructor Details
.new ⇒ PKCS7
.new(string) ⇒ PKCS7
PKCS7
.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)
#type ⇒ String
? (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.