Skip to content

Commit b3dd5e7

Browse files
committed
Clarify supported class types in YARD docs for Values::Cert.
1 parent 039bcf8 commit b3dd5e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: lib/ronin/recon/values/cert.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Cert < Value
4040
#
4141
# Initializes the certificate value.
4242
#
43-
# @param [OpenSSL::X509::Certificate] cert
43+
# @param [Ronin::Support::Crypto::Cert, OpenSSL::X509::Certificate] cert
4444
# The decoded X509 certificate.
4545
#
4646
def initialize(cert)
@@ -77,7 +77,7 @@ def not_after
7777
#
7878
# The certificate issuer's information.
7979
#
80-
# @return [OpenSSL::X509::Name]
80+
# @return [Ronin::Support::Crypto::Cert::Name]
8181
#
8282
def issuer
8383
@cert.issuer
@@ -86,7 +86,7 @@ def issuer
8686
#
8787
# The certificate subject's information.
8888
#
89-
# @return [OpenSSL::X509::Name]
89+
# @return [Ronin::Support::Crypto::Cert::Name]
9090
#
9191
def subject
9292
@cert.subject

0 commit comments

Comments
 (0)