class OpenSSL::X509::Request
Public Class Methods
Public Instance Methods
(untyped other) → bool
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11618
def ==: (untyped other) -> bool
(Attribute attribute) → Attribute
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11625
def add_attribute: (Attribute attribute) -> Attribute
() → Array[Attribute]
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11632
def attributes: () -> Array[Attribute]
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11639
def attributes=: (Array[Attribute] attributes) -> Array[Attribute]
(self) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11751
def initialize_copy: (self) -> void
() → PKey::PKey
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11646
def public_key: () -> PKey::PKey
(PKey::PKey public_key) → PKey::PKey
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11653
def public_key=: (PKey::PKey public_key) -> PKey::PKey
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11660
def sign: (PKey::PKey key, Digest | String digest) -> String
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11671
def signature_algorithm: () -> String
Returns the signature algorithm used to sign this request.
Returns the long name of the signature algorithm, or the dotted decimal notation if OpenSSL does not define a long name for it.
() → Name
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11678
def subject: () -> Name
(Name subject) → Name
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11685
def subject=: (Name subject) -> Name
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11692
def to_der: () -> String
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11699
def to_pem: () -> String
Also aliased as: to_s
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11713
def to_text: () -> String
(PKey::PKey key) → bool
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11721
def verify: (PKey::PKey key) -> bool
Checks that cert signature is made with PRIVversion of this PUBLIC ‘key’
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 11728
def version: () -> Integer