Class: SSLyze::Certificate::Validity

Inherits:
Struct
  • Object
show all
Defined in:
lib/sslyze/certificate/validity.rb

Overview

Represents the <validity> XML element.

Instance Attribute Summary collapse

Instance Attribute Details

#not_afterObject

Returns the value of attribute not_after

Returns:

  • (Object)

    the current value of not_after



6
7
8
# File 'lib/sslyze/certificate/validity.rb', line 6

def not_after
  @not_after
end

#not_beforeObject

Returns the value of attribute not_before

Returns:

  • (Object)

    the current value of not_before



6
7
8
# File 'lib/sslyze/certificate/validity.rb', line 6

def not_before
  @not_before
end