Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

OpenSSL::PKCS7.sign

(::OpenSSL::X509::Certificate certs, ::OpenSSL::PKey::PKey key, ::String data, ?::OpenSSL::Cipher cipher, ?::Integer flags) -> instance
PKCS7.sign(cert, key, data, [, certs [, flags]]) => pkcs7
No documentation available
See also .read_smime .write_smime .new #add_certificate also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0