Skip to content
instance method

OpenSSL::X509::Certificate#signature_algorithm

() -> ::String
cert.signature_algorithm => string

Returns the signature algorithm used to sign this certificate. This returns the algorithm name found in the TBSCertificate structure, not the outer Certificate structure.

Returns the long name of the signature algorithm, or the dotted decimal notation if OpenSSL does not define a long name for it.

See also #sign #subject #serial= #subject= also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0