Class: InternetSecurityEvent::X509Status
- Inherits:
-
Object
- Object
- InternetSecurityEvent::X509Status
show all
- Defined in:
- lib/internet_security_event/x509_status.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Instance Method Details
#renewal_duration ⇒ Object
24
25
26
|
# File 'lib/internet_security_event/x509_status.rb', line 24
def renewal_duration
[validity_duration / 3, 90.days].min
end
|
#to_e ⇒ Object
16
17
18
19
20
21
22
|
# File 'lib/internet_security_event/x509_status.rb', line 16
def to_e
{
state: state,
description: description,
metric: metric,
}
end
|