Class: InternetSecurityEvent::X509CertificateRevocationListStatus
- Inherits:
-
X509Status
- Object
- X509Status
- InternetSecurityEvent::X509CertificateRevocationListStatus
- Defined in:
- lib/internet_security_event/x509_certificate_revocation_list_status.rb
Instance Attribute Summary collapse
-
#crl ⇒ Object
readonly
Returns the value of attribute crl.
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize(crl) ⇒ X509CertificateRevocationListStatus
constructor
A new instance of X509CertificateRevocationListStatus.
- #to_e ⇒ Object
Methods inherited from X509Status
Constructor Details
#initialize(crl) ⇒ X509CertificateRevocationListStatus
Returns a new instance of X509CertificateRevocationListStatus.
9 10 11 12 13 |
# File 'lib/internet_security_event/x509_certificate_revocation_list_status.rb', line 9 def initialize(crl) @crl = crl super() end |
Instance Attribute Details
#crl ⇒ Object (readonly)
Returns the value of attribute crl.
7 8 9 |
# File 'lib/internet_security_event/x509_certificate_revocation_list_status.rb', line 7 def crl @crl end |
Instance Method Details
#description ⇒ Object
15 16 17 |
# File 'lib/internet_security_event/x509_certificate_revocation_list_status.rb', line 15 def description super('crl') end |
#to_e ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/internet_security_event/x509_certificate_revocation_list_status.rb', line 19 def to_e super.merge({ issuer: crl.issuer.to_s, last_update: crl.last_update.to_s, next_update: crl.next_update.to_s, }) end |