Sha256: b64270c815d9a8fd6a0bbbb76cfd474086a59139c9c41bb43f33ccb999e4e2a9

Contents?: true

Size: 757 Bytes

Versions: 4

Compression:

Stored size: 757 Bytes

Contents

require 'sslyze/certificate/extensions/extension'

module SSLyze
  class Certificate
    class Extensions
      #
      # Represetns the `<X509v3ExtendedKeyUsage>` XML element.
      #
      class X509v3ExtendedKeyUsage < Extension

        #
        # TLS web client authentication.
        #
        # @return [String]
        #
        def tls_web_client_authentication
          @tls_web_client_authentication ||= @node.at('TLSWebClientAuthentication').inner_text
        end

        #
        # TLS web server authentication.
        #
        # @return [String]
        #
        def tls_web_server_authentication
          @tls_web_server_authentication ||= @node.at('TLSWebServerAuthentication').inner_text
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-sslyze-0.2.1 lib/sslyze/certificate/extensions/x509v3_extended_key_usage.rb
ruby-sslyze-0.2.0 lib/sslyze/certificate/extensions/x509v3_extended_key_usage.rb
ruby-sslyze-0.1.1 lib/sslyze/certificate/extensions/x509v3_extended_key_usage.rb
ruby-sslyze-0.1.0 lib/sslyze/certificate/extensions/x509v3_extended_key_usage.rb