Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::X509::Extension::SubjectKeyIdentifier#subject_key_identifier

subject_key_identifier

Get the subject’s key identifier from the subjectKeyIdentifier exteension, as described in RFC5280 Section 4.2.1.2.

Returns the binary String key identifier or nil or raises ASN1::ASN1Error.

also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1