Class: PassiveCIRCL::Clients::SSL

Inherits:
Base
  • Object
show all
Defined in:
lib/passive_circl/clients/ssl.rb

Constant Summary collapse

VERSION =
"v2"

Constants inherited from Base

Base::BASE_URL, Base::HOST

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PassiveCIRCL::Clients::Base

Instance Method Details

#cfetch(fingerprint) ⇒ Object



16
17
18
# File 'lib/passive_circl/clients/ssl.rb', line 16

def cfetch(fingerprint)
  _get("/cfetch/#{fingerprint}") { |json| json }
end

#cquery(fingerprint) ⇒ Object



12
13
14
# File 'lib/passive_circl/clients/ssl.rb', line 12

def cquery(fingerprint)
  _get("/cquery/#{fingerprint}") { |json| json }
end

#query(cidr) ⇒ Object



8
9
10
# File 'lib/passive_circl/clients/ssl.rb', line 8

def query(cidr)
  _get("/query/#{cidr}") { |json| json }
end