icontrol 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/lib/icontrol/arx.rb +38 -8
  2. data/lib/icontrol/arx/api.rb +1 -0
  3. data/lib/icontrol/arx/chassis.rb +11 -0
  4. data/lib/icontrol/arx/export.rb +4 -1
  5. data/lib/icontrol/arx/file_change_notification.rb +25 -4
  6. data/lib/icontrol/arx/file_server.rb +2 -0
  7. data/lib/icontrol/arx/namespace.rb +2 -0
  8. data/lib/icontrol/arx/network.rb +3 -0
  9. data/lib/icontrol/arx/policy.rb +3 -0
  10. data/lib/icontrol/arx/share.rb +2 -0
  11. data/lib/icontrol/arx/virtual_service.rb +3 -0
  12. data/lib/icontrol/arx/volume.rb +2 -0
  13. data/lib/icontrol/asm.rb +18 -3
  14. data/lib/icontrol/asm/object_params.rb +12 -6
  15. data/lib/icontrol/asm/policy.rb +118 -79
  16. data/lib/icontrol/asm/system_configuration.rb +27 -19
  17. data/lib/icontrol/asm/web_application.rb +74 -52
  18. data/lib/icontrol/asm/web_application_group.rb +33 -24
  19. data/lib/icontrol/base.rb +1 -0
  20. data/lib/icontrol/base/exception.rb +1 -0
  21. data/lib/icontrol/base/icontrol/local_lb/pool.rb +7 -0
  22. data/lib/icontrol/base/icontrol_overlay.rb +6 -0
  23. data/lib/icontrol/base/predeclarations.rb +5 -4
  24. data/lib/icontrol/base/struct.rb +6 -2
  25. data/lib/icontrol/common.rb +55 -4
  26. data/lib/icontrol/global_lb.rb +22 -3
  27. data/lib/icontrol/global_lb/application.rb +63 -44
  28. data/lib/icontrol/global_lb/data_center.rb +82 -58
  29. data/lib/icontrol/global_lb/dnssec_key.rb +152 -90
  30. data/lib/icontrol/global_lb/dnssec_zone.rb +55 -35
  31. data/lib/icontrol/global_lb/globals.rb +662 -430
  32. data/lib/icontrol/global_lb/link.rb +181 -131
  33. data/lib/icontrol/global_lb/monitor.rb +174 -104
  34. data/lib/icontrol/global_lb/pool.rb +290 -203
  35. data/lib/icontrol/global_lb/pool_member.rb +118 -71
  36. data/lib/icontrol/global_lb/region.rb +37 -25
  37. data/lib/icontrol/global_lb/rule.rb +53 -37
  38. data/lib/icontrol/global_lb/server.rb +176 -124
  39. data/lib/icontrol/global_lb/topology.rb +41 -27
  40. data/lib/icontrol/global_lb/virtual_server.rb +118 -84
  41. data/lib/icontrol/global_lb/wide_ip.rb +168 -117
  42. data/lib/icontrol/local_lb.rb +81 -10
  43. data/lib/icontrol/local_lb/klass.rb +233 -153
  44. data/lib/icontrol/local_lb/monitor.rb +158 -96
  45. data/lib/icontrol/local_lb/nat.rb +74 -52
  46. data/lib/icontrol/local_lb/node_address.rb +123 -86
  47. data/lib/icontrol/local_lb/pool.rb +229 -164
  48. data/lib/icontrol/local_lb/pool_member.rb +134 -76
  49. data/lib/icontrol/local_lb/profile_auth.rb +103 -75
  50. data/lib/icontrol/local_lb/profile_client_ssl.rb +284 -201
  51. data/lib/icontrol/local_lb/profile_diameter.rb +113 -71
  52. data/lib/icontrol/local_lb/profile_dns.rb +65 -46
  53. data/lib/icontrol/local_lb/profile_fast_http.rb +265 -178
  54. data/lib/icontrol/local_lb/profile_fast_l4.rb +283 -194
  55. data/lib/icontrol/local_lb/profile_ftp.rb +81 -58
  56. data/lib/icontrol/local_lb/profile_http.rb +701 -433
  57. data/lib/icontrol/local_lb/profile_http_class.rb +169 -121
  58. data/lib/icontrol/local_lb/profile_iiop.rb +87 -63
  59. data/lib/icontrol/local_lb/profile_one_connect.rb +99 -71
  60. data/lib/icontrol/local_lb/profile_persistence.rb +326 -203
  61. data/lib/icontrol/local_lb/profile_radius.rb +94 -62
  62. data/lib/icontrol/local_lb/profile_rtsp.rb +207 -129
  63. data/lib/icontrol/local_lb/profile_sctp.rb +231 -167
  64. data/lib/icontrol/local_lb/profile_server_ssl.rb +268 -189
  65. data/lib/icontrol/local_lb/profile_sip.rb +145 -99
  66. data/lib/icontrol/local_lb/profile_stream.rb +71 -51
  67. data/lib/icontrol/local_lb/profile_tcp.rb +455 -296
  68. data/lib/icontrol/local_lb/profile_udp.rb +109 -78
  69. data/lib/icontrol/local_lb/profile_user_statistic.rb +77 -46
  70. data/lib/icontrol/local_lb/profile_xml.rb +116 -79
  71. data/lib/icontrol/local_lb/ram_cache_information.rb +43 -20
  72. data/lib/icontrol/local_lb/rate_class.rb +523 -318
  73. data/lib/icontrol/local_lb/rule.rb +53 -37
  74. data/lib/icontrol/local_lb/snat.rb +96 -65
  75. data/lib/icontrol/local_lb/snat_pool.rb +54 -39
  76. data/lib/icontrol/local_lb/snat_pool_member.rb +22 -15
  77. data/lib/icontrol/local_lb/snat_translation_address.rb +94 -69
  78. data/lib/icontrol/local_lb/virtual_address.rb +99 -70
  79. data/lib/icontrol/local_lb/virtual_server.rb +358 -243
  80. data/lib/icontrol/lt_config.rb +8 -1
  81. data/lib/icontrol/lt_config/field.rb +87 -53
  82. data/lib/icontrol/lt_config/klass.rb +59 -43
  83. data/lib/icontrol/management.rb +80 -38
  84. data/lib/icontrol/management/ccldap_configuration.rb +218 -144
  85. data/lib/icontrol/management/change_control.rb +67 -41
  86. data/lib/icontrol/management/crldp_configuration.rb +73 -52
  87. data/lib/icontrol/management/crldp_server.rb +55 -39
  88. data/lib/icontrol/management/db_variable.rb +32 -21
  89. data/lib/icontrol/management/event_notification.rb +19 -8
  90. data/lib/icontrol/management/event_subscription.rb +121 -74
  91. data/lib/icontrol/management/key_certificate.rb +235 -138
  92. data/lib/icontrol/management/ldap_configuration.rb +249 -179
  93. data/lib/icontrol/management/license_administration.rb +97 -56
  94. data/lib/icontrol/management/named.rb +103 -67
  95. data/lib/icontrol/management/ocsp_configuration.rb +33 -24
  96. data/lib/icontrol/management/ocsp_responder.rb +294 -165
  97. data/lib/icontrol/management/partition.rb +42 -23
  98. data/lib/icontrol/management/provision.rb +73 -39
  99. data/lib/icontrol/management/radius_configuration.rb +85 -57
  100. data/lib/icontrol/management/radius_server.rb +51 -37
  101. data/lib/icontrol/management/resource_record.rb +163 -121
  102. data/lib/icontrol/management/snmp_configuration.rb +675 -390
  103. data/lib/icontrol/management/tacacs_configuration.rb +99 -67
  104. data/lib/icontrol/management/tmos_module.rb +20 -8
  105. data/lib/icontrol/management/user_management.rb +198 -124
  106. data/lib/icontrol/management/view.rb +33 -24
  107. data/lib/icontrol/management/zone.rb +49 -34
  108. data/lib/icontrol/management/zone_runner.rb +11 -7
  109. data/lib/icontrol/networking.rb +31 -4
  110. data/lib/icontrol/networking/admin_ip.rb +92 -71
  111. data/lib/icontrol/networking/arp.rb +41 -28
  112. data/lib/icontrol/networking/i_session_advertised_route.rb +47 -32
  113. data/lib/icontrol/networking/i_session_local_interface.rb +72 -52
  114. data/lib/icontrol/networking/i_session_peer_discovery.rb +105 -68
  115. data/lib/icontrol/networking/i_session_remote_interface.rb +105 -76
  116. data/lib/icontrol/networking/interfaces.rb +241 -142
  117. data/lib/icontrol/networking/packet_filter.rb +111 -69
  118. data/lib/icontrol/networking/packet_filter_globals.rb +39 -28
  119. data/lib/icontrol/networking/port_mirror.rb +39 -27
  120. data/lib/icontrol/networking/profile_gre.rb +63 -41
  121. data/lib/icontrol/networking/profile_ipip.rb +38 -25
  122. data/lib/icontrol/networking/profile_wccpgre.rb +85 -55
  123. data/lib/icontrol/networking/route_domain.rb +70 -44
  124. data/lib/icontrol/networking/route_table.rb +128 -91
  125. data/lib/icontrol/networking/self_ip.rb +57 -39
  126. data/lib/icontrol/networking/self_ip_port_lockdown.rb +34 -22
  127. data/lib/icontrol/networking/stp_globals.rb +115 -63
  128. data/lib/icontrol/networking/stp_instance.rb +166 -68
  129. data/lib/icontrol/networking/trunk.rb +165 -101
  130. data/lib/icontrol/networking/tunnel.rb +77 -52
  131. data/lib/icontrol/networking/vlan.rb +140 -98
  132. data/lib/icontrol/networking/vlan_group.rb +145 -101
  133. data/lib/icontrol/system.rb +70 -33
  134. data/lib/icontrol/system/cluster.rb +103 -81
  135. data/lib/icontrol/system/config_sync.rb +128 -72
  136. data/lib/icontrol/system/connections.rb +27 -17
  137. data/lib/icontrol/system/disk.rb +134 -67
  138. data/lib/icontrol/system/failover.rb +44 -27
  139. data/lib/icontrol/system/geo_ip.rb +16 -5
  140. data/lib/icontrol/system/inet.rb +47 -30
  141. data/lib/icontrol/system/internal.rb +13 -9
  142. data/lib/icontrol/system/services.rb +75 -42
  143. data/lib/icontrol/system/software_management.rb +132 -83
  144. data/lib/icontrol/system/statistics.rb +443 -298
  145. data/lib/icontrol/system/system_info.rb +137 -95
  146. data/lib/icontrol/web_accelerator/applications.rb +17 -10
  147. data/lib/icontrol/web_accelerator/policies.rb +13 -9
  148. data/lib/icontrol/web_accelerator/proxy_message.rb +11 -7
  149. data/spec/icontrol/local_lb/pool_member_spec.rb +495 -0
  150. data/spec/icontrol/local_lb/profile_http_class_spec.rb +514 -0
  151. metadata +10 -4
@@ -1,6 +1,15 @@
1
1
  module IControl::Management
2
2
  ##
3
- # The KeyCertificate interface exposes methods that enable you to manage keys, certificates, and certificate requests. All methods in this interface are atomic operations, such that each operation involves creating a session context with the key/certificate management library, performing the required action, and cleaning up and/or destroying the session context when completed. Therefore, all operations are stateless. Note that all operations on keys, certificates, and certificate requests are performed in the directory location containing keys, certs, csr's... as structured for Apache, which is currently /config/ssl. For archiving operations, you have the option of exporting or importing archives to/from other locations. If the location is not specified, the default location of /config/ssl will be used.
3
+ # The KeyCertificate interface exposes methods that enable you to manage keys, certificates,
4
+ # and certificate requests. All methods in this interface are atomic operations, such
5
+ # that each operation involves creating a session context with the key/certificate
6
+ # management library, performing the required action, and cleaning up and/or destroying
7
+ # the session context when completed. Therefore, all operations are stateless. Note
8
+ # that all operations on keys, certificates, and certificate requests are performed
9
+ # in the directory location containing keys, certs, csr's... as structured for Apache,
10
+ # which is currently /config/ssl. For archiving operations, you have the option of
11
+ # exporting or importing archives to/from other locations. If the location is not specified,
12
+ # the default location of /config/ssl will be used.
4
13
  class KeyCertificate < IControl::Base
5
14
 
6
15
  set_id_name "mode"
@@ -13,20 +22,36 @@ module IControl::Management
13
22
  class Key < IControl::Base::Struct; end
14
23
  class KeyInformation < IControl::Base::Struct; end
15
24
  class X509Data < IControl::Base::Struct; end
25
+ class CertificateDetailSequence < IControl::Base::Sequence ; end
26
+ class CertificateDetailSequenceSequence < IControl::Base::SequenceSequence ; end
27
+ class CertificateInformationSequence < IControl::Base::Sequence ; end
28
+ class CertificateRequestInformationSequence < IControl::Base::Sequence ; end
29
+ class CertificateRequestSequence < IControl::Base::Sequence ; end
30
+ class CertificateSequence < IControl::Base::Sequence ; end
31
+ class KeyInformationSequence < IControl::Base::Sequence ; end
32
+ class KeySequence < IControl::Base::Sequence ; end
33
+ class ValidityTypeSequence < IControl::Base::Sequence ; end
34
+ class X509DataSequence < IControl::Base::Sequence ; end
16
35
  # An enumerated type that will describe the certificate type.
17
36
  class CertificateType < IControl::Base::Enumeration; end
18
37
  # An enumerated type that will describe the key type being used in the key/certificate.
19
38
  class KeyType < IControl::Base::Enumeration; end
20
39
  # An enumerated type that will describe what mode of key/cert management to use.
21
40
  class ManagementModeType < IControl::Base::Enumeration; end
22
- # An enumerated type that will describe the security type being used in the key. You can use this enumeration when creating the key to indicate whether you are creating a normal key, or FIPS-enabled key.
41
+ # An enumerated type that will describe the security type being used in the key. You
42
+ # can use this enumeration when creating the key to indicate whether you are creating
43
+ # a normal key, or FIPS-enabled key.
23
44
  class SecurityType < IControl::Base::Enumeration; end
24
45
  # An enumerated type that will describe the validity of the certificates.
25
46
  class ValidityType < IControl::Base::Enumeration; end ##
26
- # Adds certificates identified by &amp;quot;certificate_files" to the certificate bundles, which are presumed to exist already. Each of the original certificate bundle can theoretically be a normal certificate, i.e. a certificate bundle of one. After the add operation, the bundles will contain more than one certificate.
27
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
28
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
29
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
47
+ # Adds certificates identified by &amp;quot;certificate_files" to the certificate bundles,
48
+ # which are presumed to exist already. Each of the original certificate bundle can
49
+ # theoretically be a normal certificate, i.e. a certificate bundle of one. After the
50
+ # add operation, the bundles will contain more than one certificate.
51
+ # @rspec_example
52
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
53
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
54
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
30
55
  # @param [Hash] opts
31
56
  # @option opts [String] :cert_ids The existing certificate bundles to which additional certificates will be added.
32
57
  # @option opts [String] :certificate_files The file names of the certificates to add to the bundles.
@@ -36,10 +61,14 @@ module IControl::Management
36
61
  end
37
62
 
38
63
  ##
39
- # Adds certificates identified by &amp;quot;pem_data" to the certificate bundles, which are presumed to exist already. Each of the original certificate bundle can theoretically be a normal certificate, i.e. a certificate bundle of one. After the add operation, the bundles will contain more than one certificate.
40
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
41
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
42
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
64
+ # Adds certificates identified by &amp;quot;pem_data" to the certificate bundles, which
65
+ # are presumed to exist already. Each of the original certificate bundle can theoretically
66
+ # be a normal certificate, i.e. a certificate bundle of one. After the add operation,
67
+ # the bundles will contain more than one certificate.
68
+ # @rspec_example
69
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
70
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
71
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
43
72
  # @param [Hash] opts
44
73
  # @option opts [String] :cert_ids The existing certificate bundles to which additional certificates will be added.
45
74
  # @option opts [String] :pem_data The PEM formatted data of the certificates to add to the bundles.
@@ -50,9 +79,10 @@ module IControl::Management
50
79
 
51
80
  ##
52
81
  # Binds/associates this keys and certificates.
53
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
54
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
55
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
82
+ # @rspec_example
83
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
84
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
85
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
56
86
  # @param [Hash] opts
57
87
  # @option opts [String] :cert_ids The string identifications of the certificates.
58
88
  # @option opts [String] :key_ids The string identifications of the keys
@@ -63,10 +93,11 @@ module IControl::Management
63
93
 
64
94
  ##
65
95
  # Gets the validity of this certificates.
96
+ # @rspec_example
66
97
  # @return [ValidityType]
67
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
68
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
69
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
98
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
99
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
100
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
70
101
  # @param [Hash] opts
71
102
  # @option opts [String] :cert_ids The string identifications of the certificates to check for validity.
72
103
  # @option opts [long] :watermark_days The watermarks in number of days to use in checking the validity.
@@ -77,9 +108,10 @@ module IControl::Management
77
108
 
78
109
  ##
79
110
  # Deletes/uninstalls this certificates.
80
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
81
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
82
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
111
+ # @rspec_example
112
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
113
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
114
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
83
115
  # @param [Hash] opts
84
116
  # @option opts [String] :cert_ids The string identifications of the certificates to delete/uninstall.
85
117
  def certificate_delete(opts)
@@ -88,10 +120,13 @@ module IControl::Management
88
120
  end
89
121
 
90
122
  ##
91
- # Deletes certificates, identified by their subject's X509 data, from the certificate bundles. If the last certificate has been deleted from the bundle, the certificate file will automatically be deleted.
92
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
93
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
94
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
123
+ # Deletes certificates, identified by their subject's X509 data, from the certificate
124
+ # bundles. If the last certificate has been deleted from the bundle, the certificate
125
+ # file will automatically be deleted.
126
+ # @rspec_example
127
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
128
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
129
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
95
130
  # @param [Hash] opts
96
131
  # @option opts [String] :cert_ids The existing certificate bundles from which certificates will be removed.
97
132
  # @option opts [IControl::Management::KeyCertificate::X509Data] :x509_data The X509 data of the subjects of the certificates to be deleted from the bundle.
@@ -102,9 +137,10 @@ module IControl::Management
102
137
 
103
138
  ##
104
139
  # Exports this certificates to the given files.
105
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
106
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
107
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
140
+ # @rspec_example
141
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
142
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
143
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
108
144
  # @param [Hash] opts
109
145
  # @option opts [String] :cert_ids The string identifications of the certificates to export.
110
146
  # @option opts [String] :file_names The files associated with the specified certificates to export to.
@@ -116,10 +152,11 @@ module IControl::Management
116
152
 
117
153
  ##
118
154
  # Exports this certificates to PEM-formatted data.
155
+ # @rspec_example
119
156
  # @return [String]
120
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
121
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
122
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
157
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
158
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
159
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
123
160
  # @param [Hash] opts
124
161
  # @option opts [String] :cert_ids The string identifications of the certificates to export.
125
162
  def certificate_export_to_pem(opts)
@@ -128,10 +165,12 @@ module IControl::Management
128
165
  end
129
166
 
130
167
  ##
131
- # Generates this certificates. This assumes that each of the associated keys, having the same identification as each certificate, has already been created.
132
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
133
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
134
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
168
+ # Generates this certificates. This assumes that each of the associated keys, having
169
+ # the same identification as each certificate, has already been created.
170
+ # @rspec_example
171
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
172
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
173
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
135
174
  # @param [Hash] opts
136
175
  # @option opts [IControl::Management::KeyCertificate::Certificate] :certs The certificates to generate.
137
176
  # @option opts [IControl::Management::KeyCertificate::X509Data] :x509_data The x509 data associated with the specified certificates.
@@ -144,9 +183,10 @@ module IControl::Management
144
183
 
145
184
  ##
146
185
  # Imports/installs this certificates from the given files.
147
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
148
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
149
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
186
+ # @rspec_example
187
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
188
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
189
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
150
190
  # @param [Hash] opts
151
191
  # @option opts [String] :cert_ids The string identifications of the certificates to import/install.
152
192
  # @option opts [String] :file_names The certificate files associated with the specified certificates from which to import.
@@ -158,9 +198,10 @@ module IControl::Management
158
198
 
159
199
  ##
160
200
  # Imports/installs this certificates from the given PEM-formatted data.
161
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
162
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
163
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
201
+ # @rspec_example
202
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
203
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
204
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
164
205
  # @param [Hash] opts
165
206
  # @option opts [String] :cert_ids The string identifications of the certificates to import/install.
166
207
  # @option opts [String] :pem_data The PEM-formatted data associated with the specified certificates.
@@ -172,9 +213,10 @@ module IControl::Management
172
213
 
173
214
  ##
174
215
  # Deletes this CSRs.
175
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
176
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
177
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
216
+ # @rspec_example
217
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
218
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
219
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
178
220
  # @param [Hash] opts
179
221
  # @option opts [String] :csr_ids The certificate requests to delete.
180
222
  def certificate_request_delete(opts)
@@ -184,9 +226,10 @@ module IControl::Management
184
226
 
185
227
  ##
186
228
  # Exports this certificate requests to the given files.
187
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
188
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
189
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
229
+ # @rspec_example
230
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
231
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
232
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
190
233
  # @param [Hash] opts
191
234
  # @option opts [String] :csr_ids The string identifications of the certificate requests to export.
192
235
  # @option opts [String] :file_names The files associated with the specified certificates to export to.
@@ -198,10 +241,11 @@ module IControl::Management
198
241
 
199
242
  ##
200
243
  # Exports this certificate requests to PEM-formatted data.
244
+ # @rspec_example
201
245
  # @return [String]
202
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
203
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
204
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
246
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
247
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
248
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
205
249
  # @param [Hash] opts
206
250
  # @option opts [String] :csr_ids The string identifications of the certificate requests to export.
207
251
  def certificate_request_export_to_pem(opts)
@@ -210,10 +254,13 @@ module IControl::Management
210
254
  end
211
255
 
212
256
  ##
213
- # Generates this certificate signing requests. This assumes that each of the associated keys, having the same identification as each certificate request, has already been created.
214
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
215
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
216
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
257
+ # Generates this certificate signing requests. This assumes that each of the associated
258
+ # keys, having the same identification as each certificate request, has already been
259
+ # created.
260
+ # @rspec_example
261
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
262
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
263
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
217
264
  # @param [Hash] opts
218
265
  # @option opts [IControl::Management::KeyCertificate::CertificateRequest] :csrs The certificate requests to generate.
219
266
  # @option opts [IControl::Management::KeyCertificate::X509Data] :x509_data The x509 data associated with the specified certificate requests.
@@ -225,9 +272,10 @@ module IControl::Management
225
272
 
226
273
  ##
227
274
  # Imports/installs this certificate requests from the given files.
228
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
229
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
230
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
275
+ # @rspec_example
276
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
277
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
278
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
231
279
  # @param [Hash] opts
232
280
  # @option opts [String] :csr_ids The string identifications of the certificate requests to import/install.
233
281
  # @option opts [String] :file_names The files associated with the specified certificate requests from which to import.
@@ -239,9 +287,10 @@ module IControl::Management
239
287
 
240
288
  ##
241
289
  # Imports/installs this certificate requests from the given PEM-formatted data.
242
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
243
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
244
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
290
+ # @rspec_example
291
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
292
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
293
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
245
294
  # @param [Hash] opts
246
295
  # @option opts [String] :csr_ids The string identifications of the certificate requests to import/install.
247
296
  # @option opts [String] :pem_data The PEM-formatted data associated with the specified certificates.
@@ -252,10 +301,12 @@ module IControl::Management
252
301
  end
253
302
 
254
303
  ##
255
- # Exports all currently installed keys and certificates into this archive file. The archive file is a .tgz file that will contain all keys and certificates.
256
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
257
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
258
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
304
+ # Exports all currently installed keys and certificates into this archive file. The
305
+ # archive file is a .tgz file that will contain all keys and certificates.
306
+ # @rspec_example
307
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
308
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
309
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
259
310
  # @param [Hash] opts
260
311
  # @option opts [String] :archive_location The location of the archive file.
261
312
  # @option opts [String] :archive_name The archive file name.
@@ -265,20 +316,25 @@ module IControl::Management
265
316
  end
266
317
 
267
318
  ##
268
- # Exports all currently installed keys and certificates into the returned archive stream. The returned archive stream is basically the contents of a .tgz file that contains all keys and certificates.
319
+ # Exports all currently installed keys and certificates into the returned archive stream.
320
+ # The returned archive stream is basically the contents of a .tgz file that contains
321
+ # all keys and certificates.
322
+ # @rspec_example
269
323
  # @return [char]
270
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
271
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
272
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
324
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
325
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
326
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
273
327
  def export_all_to_archive_stream
274
328
  super
275
329
  end
276
330
 
277
331
  ##
278
- # Exports this keys and certificates into this archive file. The archive file is a .tgz file that will contain only this keys and certificates that have been exported.
279
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
280
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
281
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
332
+ # Exports this keys and certificates into this archive file. The archive file is a
333
+ # .tgz file that will contain only this keys and certificates that have been exported.
334
+ # @rspec_example
335
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
336
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
337
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
282
338
  # @param [Hash] opts
283
339
  # @option opts [String] :archive_location The location of the archive file.
284
340
  # @option opts [String] :archive_name The archive file name.
@@ -290,11 +346,14 @@ module IControl::Management
290
346
  end
291
347
 
292
348
  ##
293
- # Exports this keys and certificates into the returned archive stream. The returned archive stream is basically the contents of a .tgz file that contains the exported keys and certificates.
349
+ # Exports this keys and certificates into the returned archive stream. The returned
350
+ # archive stream is basically the contents of a .tgz file that contains the exported
351
+ # keys and certificates.
352
+ # @rspec_example
294
353
  # @return [char]
295
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
296
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
297
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
354
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
355
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
356
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
298
357
  # @param [Hash] opts
299
358
  # @option opts [String] :keys The string identifications of the keys to be exported.
300
359
  # @option opts [String] :certs The string identifications of the certificates to be exported.
@@ -304,11 +363,15 @@ module IControl::Management
304
363
  end
305
364
 
306
365
  ##
307
- # Gets the list of all certificates bundled in the certificate files as specified by the file_names. Each file_name will contain multiple certficates. Note: only call this method when the results of get_certificate_list indicate that there are multiple certificated bundled in a particular file.
366
+ # Gets the list of all certificates bundled in the certificate files as specified by
367
+ # the file_names. Each file_name will contain multiple certficates. Note: only call
368
+ # this method when the results of get_certificate_list indicate that there are multiple
369
+ # certificated bundled in a particular file.
370
+ # @rspec_example
308
371
  # @return [CertificateDetail[]]
309
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
310
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
311
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
372
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
373
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
374
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
312
375
  # @param [Hash] opts
313
376
  # @option opts [String] :file_names The file names of the certificate bundles.
314
377
  def certificate_bundle(opts)
@@ -317,47 +380,55 @@ module IControl::Management
317
380
  end
318
381
 
319
382
  ##
320
- # Gets the list of all installed certificates and their information. If there's a certificate bundle, only the first certificate in the bundle is returned, and and is_bundle flag will be set to true for the correponding bundle file name.
383
+ # Gets the list of all installed certificates and their information. If there's a certificate
384
+ # bundle, only the first certificate in the bundle is returned, and and is_bundle flag
385
+ # will be set to true for the correponding bundle file name.
386
+ # @rspec_example
321
387
  # @return [CertificateInformation]
322
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
323
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
324
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
388
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
389
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
390
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
325
391
  def certificate_list
326
392
  super
327
393
  end
328
394
 
329
395
  ##
330
396
  # Gets the list of all CSRs and their information.
397
+ # @rspec_example
331
398
  # @return [CertificateRequestInformation]
332
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
333
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
334
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
399
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
400
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
401
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
335
402
  def certificate_request_list
336
403
  super
337
404
  end
338
405
 
339
406
  ##
340
407
  # Gets the list of all installed keys and their information.
408
+ # @rspec_example
341
409
  # @return [KeyInformation]
342
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
343
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
344
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
410
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
411
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
412
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
345
413
  def key_list
346
414
  super
347
415
  end
348
416
 
349
417
  ##
350
418
  # Gets the version information for this interface.
419
+ # @rspec_example
351
420
  # @return [String]
352
421
  def version
353
422
  super
354
423
  end
355
424
 
356
425
  ##
357
- # Imports/installs all keys and certificates from this archive file. The archive file should be a .tgz file that contains all keys and certificates.
358
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
359
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
360
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
426
+ # Imports/installs all keys and certificates from this archive file. The archive file
427
+ # should be a .tgz file that contains all keys and certificates.
428
+ # @rspec_example
429
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
430
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
431
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
361
432
  # @param [Hash] opts
362
433
  # @option opts [String] :archive_location The location of the archive file.
363
434
  # @option opts [String] :archive_name The archive file name.
@@ -367,10 +438,12 @@ module IControl::Management
367
438
  end
368
439
 
369
440
  ##
370
- # Imports/installs all keys and certificates from the incoming archive stream. The archive stream should be the contents of a .tgz file that contains all keys and certificates.
371
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
372
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
373
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
441
+ # Imports/installs all keys and certificates from the incoming archive stream. The
442
+ # archive stream should be the contents of a .tgz file that contains all keys and certificates.
443
+ # @rspec_example
444
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
445
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
446
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
374
447
  # @param [Hash] opts
375
448
  # @option opts [char] :archive_stream The archive stream from which to import keys and certificates.
376
449
  def import_all_from_archive_stream(opts)
@@ -379,10 +452,13 @@ module IControl::Management
379
452
  end
380
453
 
381
454
  ##
382
- # Imports/installs this keys and certificates from this archive file. The archive file should be a .tgz file that may contain more keys and certificates than what will be imported/installed.
383
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
384
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
385
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
455
+ # Imports/installs this keys and certificates from this archive file. The archive file
456
+ # should be a .tgz file that may contain more keys and certificates than what will
457
+ # be imported/installed.
458
+ # @rspec_example
459
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
460
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
461
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
386
462
  # @param [Hash] opts
387
463
  # @option opts [String] :archive_location The location of the archive file.
388
464
  # @option opts [String] :archive_name The archive file name.
@@ -394,10 +470,13 @@ module IControl::Management
394
470
  end
395
471
 
396
472
  ##
397
- # Imports/installs this keys and certificates from the incoming archive stream. The archive stream should be the contents of a .tgz file that may contain more keys and certificates than what will be imported/installed.
398
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
399
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
400
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
473
+ # Imports/installs this keys and certificates from the incoming archive stream. The
474
+ # archive stream should be the contents of a .tgz file that may contain more keys and
475
+ # certificates than what will be imported/installed.
476
+ # @rspec_example
477
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
478
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
479
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
401
480
  # @param [Hash] opts
402
481
  # @option opts [char] :archive_stream The archive stream from which to import keys and certificates.
403
482
  # @option opts [String] :keys The string identifications of the keys to be imported/installed.
@@ -409,19 +488,21 @@ module IControl::Management
409
488
 
410
489
  ##
411
490
  # Checks to see if the device supports FIPS security.
491
+ # @rspec_example
412
492
  # @return [boolean]
413
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
414
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
415
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
493
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
494
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
495
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
416
496
  def is_fips_available
417
497
  super
418
498
  end
419
499
 
420
500
  ##
421
501
  # Deletes/uninstalls this keys.
422
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
423
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
424
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
502
+ # @rspec_example
503
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
504
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
505
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
425
506
  # @param [Hash] opts
426
507
  # @option opts [String] :key_ids The string identifications of the keys to delete/uninstall.
427
508
  def key_delete(opts)
@@ -431,9 +512,10 @@ module IControl::Management
431
512
 
432
513
  ##
433
514
  # Exports this keys to the given files.
434
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
435
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
436
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
515
+ # @rspec_example
516
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
517
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
518
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
437
519
  # @param [Hash] opts
438
520
  # @option opts [String] :key_ids The string identifications of the keys to export.
439
521
  # @option opts [String] :file_names The files associated with the specified keys to export to.
@@ -445,10 +527,11 @@ module IControl::Management
445
527
 
446
528
  ##
447
529
  # Exports this keys to PEM-formatted data.
530
+ # @rspec_example
448
531
  # @return [String]
449
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
450
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
451
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
532
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
533
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
534
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
452
535
  # @param [Hash] opts
453
536
  # @option opts [String] :key_ids The string identifications of the keys to export.
454
537
  def key_export_to_pem(opts)
@@ -458,9 +541,10 @@ module IControl::Management
458
541
 
459
542
  ##
460
543
  # Generates this keys.
461
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
462
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
463
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
544
+ # @rspec_example
545
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
546
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
547
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
464
548
  # @param [Hash] opts
465
549
  # @option opts [IControl::Management::KeyCertificate::Key] :keys The keys to generate.
466
550
  # @option opts [IControl::Management::KeyCertificate::X509Data] :x509_data The x509 data associated with the specified keys.
@@ -473,9 +557,10 @@ module IControl::Management
473
557
 
474
558
  ##
475
559
  # Imports/installs this keys from the given files.
476
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
477
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
478
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
560
+ # @rspec_example
561
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
562
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
563
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
479
564
  # @param [Hash] opts
480
565
  # @option opts [String] :key_ids The string identifications of the keys to import/install.
481
566
  # @option opts [String] :file_names The key files associated with the specified keys from which to import.
@@ -487,9 +572,10 @@ module IControl::Management
487
572
 
488
573
  ##
489
574
  # Imports/installs this keys from the given PEM-formatted data.
490
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
491
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
492
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
575
+ # @rspec_example
576
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
577
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
578
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
493
579
  # @param [Hash] opts
494
580
  # @option opts [String] :key_ids The string identifications of the keys to import/install.
495
581
  # @option opts [String] :pem_data The PEM-formatted data associated with the specified keys.
@@ -501,9 +587,10 @@ module IControl::Management
501
587
 
502
588
  ##
503
589
  # Converts this keys to FIPS-enabled keys.
504
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
505
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
506
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
590
+ # @rspec_example
591
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
592
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
593
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
507
594
  # @param [Hash] opts
508
595
  # @option opts [String] :key_ids The string identifications of the keys to convert.
509
596
  def key_to_fips(opts)
@@ -512,10 +599,13 @@ module IControl::Management
512
599
  end
513
600
 
514
601
  ##
515
- # Imports/installs this pkcs12 (Public Key Cryptography Standard #12) information from the given files. This includes keys and certificates, and each file is optionally password-encrypted.
516
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
517
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
518
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
602
+ # Imports/installs this pkcs12 (Public Key Cryptography Standard #12) information from
603
+ # the given files. This includes keys and certificates, and each file is optionally
604
+ # password-encrypted.
605
+ # @rspec_example
606
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
607
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
608
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
519
609
  # @param [Hash] opts
520
610
  # @option opts [String] :ids The string identifications of the keys & certificates to import/install.
521
611
  # @option opts [String] :file_names The files from which to import.
@@ -527,7 +617,8 @@ module IControl::Management
527
617
  end
528
618
 
529
619
  ##
530
- # A struct that describes the basic information of a certificate, typically used when creating the certificate.
620
+ # A struct that describes the basic information of a certificate, typically used when
621
+ # creating the certificate.
531
622
  # @attr [String] id The string identification of this certificate.
532
623
  # @attr [String] email The email address of the certificate's owner.
533
624
  class Certificate < IControl::Base::Struct
@@ -572,7 +663,8 @@ module IControl::Management
572
663
  end
573
664
 
574
665
  ##
575
- # A struct that describes the basic information of a certificate request, typically used when creating the certificate request.
666
+ # A struct that describes the basic information of a certificate request, typically
667
+ # used when creating the certificate request.
576
668
  # @attr [String] id The string identification of this certificate request.
577
669
  # @attr [String] email The email address of the certificate request's owner.
578
670
  # @attr [String] challenge_password The challenge password.
@@ -602,7 +694,8 @@ module IControl::Management
602
694
  end
603
695
 
604
696
  ##
605
- # A struct that describes the basic information of a key, typically used when creating the key.
697
+ # A struct that describes the basic information of a key, typically used when creating
698
+ # the key.
606
699
  # @attr [String] id The string identification of this key.
607
700
  # @attr [IControl::Management::KeyCertificate::KeyType] key_type The key type used by this key.
608
701
  # @attr [Numeric] bit_length The bit length used by this key
@@ -615,7 +708,8 @@ module IControl::Management
615
708
  end
616
709
 
617
710
  ##
618
- # A struct that describes the full information of a key, typically returned when querying the key.
711
+ # A struct that describes the full information of a key, typically returned when querying
712
+ # the key.
619
713
  # @attr [IControl::Management::KeyCertificate::Key] key_info The basic information of the key.
620
714
  # @attr [String] file_name The full path/file name of the key on disk.
621
715
  # @attr [Numeric] flags Reserved for future use.
@@ -626,7 +720,8 @@ module IControl::Management
626
720
  end
627
721
 
628
722
  ##
629
- # A struct that describes the information of the x509 data that our key/certificate management library will read from or include in a certificate.
723
+ # A struct that describes the information of the x509 data that our key/certificate
724
+ # management library will read from or include in a certificate.
630
725
  # @attr [String] common_name The common name of the certificate, normally a domain name.
631
726
  # @attr [String] country_name The country name.
632
727
  # @attr [String] state_name The state name.
@@ -702,7 +797,9 @@ module IControl::Management
702
797
  end
703
798
 
704
799
 
705
- # An enumerated type that will describe the security type being used in the key. You can use this enumeration when creating the key to indicate whether you are creating a normal key, or FIPS-enabled key.
800
+ # An enumerated type that will describe the security type being used in the key. You
801
+ # can use this enumeration when creating the key to indicate whether you are creating
802
+ # a normal key, or FIPS-enabled key.
706
803
  class SecurityType < IControl::Base::Enumeration
707
804
  # A normal key.
708
805
  STYPE_NORMAL = :STYPE_NORMAL