Class: FluentCommandBuilder::SecurityOSX::V107::FindCertificate
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::SecurityOSX::V107::FindCertificate
show all
- Defined in:
- lib/fluent_command_builder/command_builders/security_osx_107.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder) ⇒ FindCertificate
Returns a new instance of FindCertificate.
72
73
74
75
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 72
def initialize(underlying_builder)
super underlying_builder
@b.append ' find-certificate'
end
|
Instance Method Details
#all {|@b| ... } ⇒ Object
76
77
78
79
80
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 76
def all
@b.append ' -a'
yield @b if block_given?
self
end
|
#email_address(email_address) {|@b| ... } ⇒ Object
86
87
88
89
90
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 86
def email_address(email_address)
@b.append " -e #{@b.format email_address}"
yield @b if block_given?
self
end
|
#keychain(keychain) {|@b| ... } ⇒ Object
106
107
108
109
110
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 106
def keychain(keychain)
@b.append " #{@b.format keychain}"
yield @b if block_given?
self
end
|
#name(name) {|@b| ... } ⇒ Object
81
82
83
84
85
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 81
def name(name)
@b.append " -c #{@b.format name}"
yield @b if block_given?
self
end
|
96
97
98
99
100
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 96
def output_pem_format
@b.append ' -p'
yield @b if block_given?
self
end
|
#print_sha1_hash {|@b| ... } ⇒ Object
101
102
103
104
105
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 101
def print_sha1_hash
@b.append ' -Z'
yield @b if block_given?
self
end
|
#show_email_addresses {|@b| ... } ⇒ Object
91
92
93
94
95
|
# File 'lib/fluent_command_builder/command_builders/security_osx_107.rb', line 91
def show_email_addresses
@b.append ' -m'
yield @b if block_given?
self
end
|