icontrol 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/icontrol/arx.rb +38 -8
- data/lib/icontrol/arx/api.rb +1 -0
- data/lib/icontrol/arx/chassis.rb +11 -0
- data/lib/icontrol/arx/export.rb +4 -1
- data/lib/icontrol/arx/file_change_notification.rb +25 -4
- data/lib/icontrol/arx/file_server.rb +2 -0
- data/lib/icontrol/arx/namespace.rb +2 -0
- data/lib/icontrol/arx/network.rb +3 -0
- data/lib/icontrol/arx/policy.rb +3 -0
- data/lib/icontrol/arx/share.rb +2 -0
- data/lib/icontrol/arx/virtual_service.rb +3 -0
- data/lib/icontrol/arx/volume.rb +2 -0
- data/lib/icontrol/asm.rb +18 -3
- data/lib/icontrol/asm/object_params.rb +12 -6
- data/lib/icontrol/asm/policy.rb +118 -79
- data/lib/icontrol/asm/system_configuration.rb +27 -19
- data/lib/icontrol/asm/web_application.rb +74 -52
- data/lib/icontrol/asm/web_application_group.rb +33 -24
- data/lib/icontrol/base.rb +1 -0
- data/lib/icontrol/base/exception.rb +1 -0
- data/lib/icontrol/base/icontrol/local_lb/pool.rb +7 -0
- data/lib/icontrol/base/icontrol_overlay.rb +6 -0
- data/lib/icontrol/base/predeclarations.rb +5 -4
- data/lib/icontrol/base/struct.rb +6 -2
- data/lib/icontrol/common.rb +55 -4
- data/lib/icontrol/global_lb.rb +22 -3
- data/lib/icontrol/global_lb/application.rb +63 -44
- data/lib/icontrol/global_lb/data_center.rb +82 -58
- data/lib/icontrol/global_lb/dnssec_key.rb +152 -90
- data/lib/icontrol/global_lb/dnssec_zone.rb +55 -35
- data/lib/icontrol/global_lb/globals.rb +662 -430
- data/lib/icontrol/global_lb/link.rb +181 -131
- data/lib/icontrol/global_lb/monitor.rb +174 -104
- data/lib/icontrol/global_lb/pool.rb +290 -203
- data/lib/icontrol/global_lb/pool_member.rb +118 -71
- data/lib/icontrol/global_lb/region.rb +37 -25
- data/lib/icontrol/global_lb/rule.rb +53 -37
- data/lib/icontrol/global_lb/server.rb +176 -124
- data/lib/icontrol/global_lb/topology.rb +41 -27
- data/lib/icontrol/global_lb/virtual_server.rb +118 -84
- data/lib/icontrol/global_lb/wide_ip.rb +168 -117
- data/lib/icontrol/local_lb.rb +81 -10
- data/lib/icontrol/local_lb/klass.rb +233 -153
- data/lib/icontrol/local_lb/monitor.rb +158 -96
- data/lib/icontrol/local_lb/nat.rb +74 -52
- data/lib/icontrol/local_lb/node_address.rb +123 -86
- data/lib/icontrol/local_lb/pool.rb +229 -164
- data/lib/icontrol/local_lb/pool_member.rb +134 -76
- data/lib/icontrol/local_lb/profile_auth.rb +103 -75
- data/lib/icontrol/local_lb/profile_client_ssl.rb +284 -201
- data/lib/icontrol/local_lb/profile_diameter.rb +113 -71
- data/lib/icontrol/local_lb/profile_dns.rb +65 -46
- data/lib/icontrol/local_lb/profile_fast_http.rb +265 -178
- data/lib/icontrol/local_lb/profile_fast_l4.rb +283 -194
- data/lib/icontrol/local_lb/profile_ftp.rb +81 -58
- data/lib/icontrol/local_lb/profile_http.rb +701 -433
- data/lib/icontrol/local_lb/profile_http_class.rb +169 -121
- data/lib/icontrol/local_lb/profile_iiop.rb +87 -63
- data/lib/icontrol/local_lb/profile_one_connect.rb +99 -71
- data/lib/icontrol/local_lb/profile_persistence.rb +326 -203
- data/lib/icontrol/local_lb/profile_radius.rb +94 -62
- data/lib/icontrol/local_lb/profile_rtsp.rb +207 -129
- data/lib/icontrol/local_lb/profile_sctp.rb +231 -167
- data/lib/icontrol/local_lb/profile_server_ssl.rb +268 -189
- data/lib/icontrol/local_lb/profile_sip.rb +145 -99
- data/lib/icontrol/local_lb/profile_stream.rb +71 -51
- data/lib/icontrol/local_lb/profile_tcp.rb +455 -296
- data/lib/icontrol/local_lb/profile_udp.rb +109 -78
- data/lib/icontrol/local_lb/profile_user_statistic.rb +77 -46
- data/lib/icontrol/local_lb/profile_xml.rb +116 -79
- data/lib/icontrol/local_lb/ram_cache_information.rb +43 -20
- data/lib/icontrol/local_lb/rate_class.rb +523 -318
- data/lib/icontrol/local_lb/rule.rb +53 -37
- data/lib/icontrol/local_lb/snat.rb +96 -65
- data/lib/icontrol/local_lb/snat_pool.rb +54 -39
- data/lib/icontrol/local_lb/snat_pool_member.rb +22 -15
- data/lib/icontrol/local_lb/snat_translation_address.rb +94 -69
- data/lib/icontrol/local_lb/virtual_address.rb +99 -70
- data/lib/icontrol/local_lb/virtual_server.rb +358 -243
- data/lib/icontrol/lt_config.rb +8 -1
- data/lib/icontrol/lt_config/field.rb +87 -53
- data/lib/icontrol/lt_config/klass.rb +59 -43
- data/lib/icontrol/management.rb +80 -38
- data/lib/icontrol/management/ccldap_configuration.rb +218 -144
- data/lib/icontrol/management/change_control.rb +67 -41
- data/lib/icontrol/management/crldp_configuration.rb +73 -52
- data/lib/icontrol/management/crldp_server.rb +55 -39
- data/lib/icontrol/management/db_variable.rb +32 -21
- data/lib/icontrol/management/event_notification.rb +19 -8
- data/lib/icontrol/management/event_subscription.rb +121 -74
- data/lib/icontrol/management/key_certificate.rb +235 -138
- data/lib/icontrol/management/ldap_configuration.rb +249 -179
- data/lib/icontrol/management/license_administration.rb +97 -56
- data/lib/icontrol/management/named.rb +103 -67
- data/lib/icontrol/management/ocsp_configuration.rb +33 -24
- data/lib/icontrol/management/ocsp_responder.rb +294 -165
- data/lib/icontrol/management/partition.rb +42 -23
- data/lib/icontrol/management/provision.rb +73 -39
- data/lib/icontrol/management/radius_configuration.rb +85 -57
- data/lib/icontrol/management/radius_server.rb +51 -37
- data/lib/icontrol/management/resource_record.rb +163 -121
- data/lib/icontrol/management/snmp_configuration.rb +675 -390
- data/lib/icontrol/management/tacacs_configuration.rb +99 -67
- data/lib/icontrol/management/tmos_module.rb +20 -8
- data/lib/icontrol/management/user_management.rb +198 -124
- data/lib/icontrol/management/view.rb +33 -24
- data/lib/icontrol/management/zone.rb +49 -34
- data/lib/icontrol/management/zone_runner.rb +11 -7
- data/lib/icontrol/networking.rb +31 -4
- data/lib/icontrol/networking/admin_ip.rb +92 -71
- data/lib/icontrol/networking/arp.rb +41 -28
- data/lib/icontrol/networking/i_session_advertised_route.rb +47 -32
- data/lib/icontrol/networking/i_session_local_interface.rb +72 -52
- data/lib/icontrol/networking/i_session_peer_discovery.rb +105 -68
- data/lib/icontrol/networking/i_session_remote_interface.rb +105 -76
- data/lib/icontrol/networking/interfaces.rb +241 -142
- data/lib/icontrol/networking/packet_filter.rb +111 -69
- data/lib/icontrol/networking/packet_filter_globals.rb +39 -28
- data/lib/icontrol/networking/port_mirror.rb +39 -27
- data/lib/icontrol/networking/profile_gre.rb +63 -41
- data/lib/icontrol/networking/profile_ipip.rb +38 -25
- data/lib/icontrol/networking/profile_wccpgre.rb +85 -55
- data/lib/icontrol/networking/route_domain.rb +70 -44
- data/lib/icontrol/networking/route_table.rb +128 -91
- data/lib/icontrol/networking/self_ip.rb +57 -39
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +34 -22
- data/lib/icontrol/networking/stp_globals.rb +115 -63
- data/lib/icontrol/networking/stp_instance.rb +166 -68
- data/lib/icontrol/networking/trunk.rb +165 -101
- data/lib/icontrol/networking/tunnel.rb +77 -52
- data/lib/icontrol/networking/vlan.rb +140 -98
- data/lib/icontrol/networking/vlan_group.rb +145 -101
- data/lib/icontrol/system.rb +70 -33
- data/lib/icontrol/system/cluster.rb +103 -81
- data/lib/icontrol/system/config_sync.rb +128 -72
- data/lib/icontrol/system/connections.rb +27 -17
- data/lib/icontrol/system/disk.rb +134 -67
- data/lib/icontrol/system/failover.rb +44 -27
- data/lib/icontrol/system/geo_ip.rb +16 -5
- data/lib/icontrol/system/inet.rb +47 -30
- data/lib/icontrol/system/internal.rb +13 -9
- data/lib/icontrol/system/services.rb +75 -42
- data/lib/icontrol/system/software_management.rb +132 -83
- data/lib/icontrol/system/statistics.rb +443 -298
- data/lib/icontrol/system/system_info.rb +137 -95
- data/lib/icontrol/web_accelerator/applications.rb +17 -10
- data/lib/icontrol/web_accelerator/policies.rb +13 -9
- data/lib/icontrol/web_accelerator/proxy_message.rb +11 -7
- data/spec/icontrol/local_lb/pool_member_spec.rb +495 -0
- data/spec/icontrol/local_lb/profile_http_class_spec.rb +514 -0
- 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,
|
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
|
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 &quot;certificate_files" to the certificate bundles,
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
47
|
+
# Adds certificates identified by &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 &quot;pem_data" to the certificate bundles, which
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
64
|
+
# Adds certificates identified by &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
|
-
# @
|
54
|
-
# @raise [IControl::Common::
|
55
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
81
|
-
# @raise [IControl::Common::
|
82
|
-
# @raise [IControl::Common::
|
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
|
92
|
-
#
|
93
|
-
#
|
94
|
-
# @
|
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
|
-
# @
|
106
|
-
# @raise [IControl::Common::
|
107
|
-
# @raise [IControl::Common::
|
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
|
132
|
-
#
|
133
|
-
# @
|
134
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
148
|
-
# @raise [IControl::Common::
|
149
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
162
|
-
# @raise [IControl::Common::
|
163
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
176
|
-
# @raise [IControl::Common::
|
177
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
188
|
-
# @raise [IControl::Common::
|
189
|
-
# @raise [IControl::Common::
|
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
|
214
|
-
#
|
215
|
-
#
|
216
|
-
# @
|
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
|
-
# @
|
229
|
-
# @raise [IControl::Common::
|
230
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
243
|
-
# @raise [IControl::Common::
|
244
|
-
# @raise [IControl::Common::
|
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
|
256
|
-
#
|
257
|
-
# @
|
258
|
-
# @raise [IControl::Common::
|
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.
|
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
|
279
|
-
#
|
280
|
-
# @
|
281
|
-
# @raise [IControl::Common::
|
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
|
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
|
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
|
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
|
358
|
-
#
|
359
|
-
# @
|
360
|
-
# @raise [IControl::Common::
|
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
|
371
|
-
#
|
372
|
-
# @
|
373
|
-
# @raise [IControl::Common::
|
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
|
383
|
-
#
|
384
|
-
#
|
385
|
-
# @
|
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
|
398
|
-
#
|
399
|
-
#
|
400
|
-
# @
|
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
|
-
# @
|
423
|
-
# @raise [IControl::Common::
|
424
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
435
|
-
# @raise [IControl::Common::
|
436
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
462
|
-
# @raise [IControl::Common::
|
463
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
477
|
-
# @raise [IControl::Common::
|
478
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
491
|
-
# @raise [IControl::Common::
|
492
|
-
# @raise [IControl::Common::
|
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
|
-
# @
|
505
|
-
# @raise [IControl::Common::
|
506
|
-
# @raise [IControl::Common::
|
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
|
516
|
-
#
|
517
|
-
#
|
518
|
-
# @
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|