Class: FluentCommandBuilder::SecurityOSX::V108::DeleteCertificate
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::SecurityOSX::V108::DeleteCertificate
show all
- Defined in:
- lib/fluent_command_builder/command_builders/security_osx_108.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
Returns a new instance of DeleteCertificate.
46
47
48
49
|
# File 'lib/fluent_command_builder/command_builders/security_osx_108.rb', line 46
def initialize(underlying_builder)
super underlying_builder
@b.append ' delete-certificate'
end
|
Instance Method Details
#common_name(name) {|@b| ... } ⇒ Object
50
51
52
53
54
|
# File 'lib/fluent_command_builder/command_builders/security_osx_108.rb', line 50
def common_name(name)
@b.append " -c #{@b.format name}"
yield @b if block_given?
self
end
|
#delete_user_trust_settings {|@b| ... } ⇒ Object
60
61
62
63
64
|
# File 'lib/fluent_command_builder/command_builders/security_osx_108.rb', line 60
def delete_user_trust_settings
@b.append ' -t'
yield @b if block_given?
self
end
|
#hash(hash) {|@b| ... } ⇒ Object
55
56
57
58
59
|
# File 'lib/fluent_command_builder/command_builders/security_osx_108.rb', line 55
def hash(hash)
@b.append " -Z #{@b.format hash}"
yield @b if block_given?
self
end
|
#keychain(keychain) {|@b| ... } ⇒ Object
65
66
67
68
69
|
# File 'lib/fluent_command_builder/command_builders/security_osx_108.rb', line 65
def keychain(keychain)
@b.append " #{@b.format keychain}"
yield @b if block_given?
self
end
|