Sha256: f14b31ae219a9fd591da313b48af2047bc3de1a5c475cf72f5689aec8604af08

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

require 'censys/search/result'

module Censys
  module Search
    class Certificate < Result
      def fingerprint_sha256
        @attributes['parsed.fingerprint_sha256']
      end

      def subject_dn
        @attributes['parsed.subject_dn']
      end

      def issuer_dn
        @attributes['parsed.issuer_dn']
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
censu-0.2.0 lib/censys/search/certificate.rb