class Metasploit::Credential::Realm

The realm in which a {Metasploit::Credential::Public} can be used to authenticate or from which a {Metasploit::Credential::Private} was looted.

Public Class Methods

key_set() click to toggle source

Set of valid values for searching {#key}.

@return [Set<String>] ‘Metasploit::Model::Realm::Key::ALL` as a `Set`. @see Metasploit::Model::Search::Operation::Set#membership @see Metasploit::Model::Search::Operator::Attribute#attribute_set

# File app/models/metasploit/credential/realm.rb, line 87
def self.key_set
  @key_set ||= Set.new Metasploit::Model::Realm::Key::ALL
end

Public Instance Methods

to_s() click to toggle source

@return [String]

# File app/models/metasploit/credential/realm.rb, line 96
def to_s
  value.to_s
end