1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CertificateAuthorityService;
19
20class KeyUsageOptions extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $certSign;
26  /**
27   * @var bool
28   */
29  public $contentCommitment;
30  /**
31   * @var bool
32   */
33  public $crlSign;
34  /**
35   * @var bool
36   */
37  public $dataEncipherment;
38  /**
39   * @var bool
40   */
41  public $decipherOnly;
42  /**
43   * @var bool
44   */
45  public $digitalSignature;
46  /**
47   * @var bool
48   */
49  public $encipherOnly;
50  /**
51   * @var bool
52   */
53  public $keyAgreement;
54  /**
55   * @var bool
56   */
57  public $keyEncipherment;
58
59  /**
60   * @param bool
61   */
62  public function setCertSign($certSign)
63  {
64    $this->certSign = $certSign;
65  }
66  /**
67   * @return bool
68   */
69  public function getCertSign()
70  {
71    return $this->certSign;
72  }
73  /**
74   * @param bool
75   */
76  public function setContentCommitment($contentCommitment)
77  {
78    $this->contentCommitment = $contentCommitment;
79  }
80  /**
81   * @return bool
82   */
83  public function getContentCommitment()
84  {
85    return $this->contentCommitment;
86  }
87  /**
88   * @param bool
89   */
90  public function setCrlSign($crlSign)
91  {
92    $this->crlSign = $crlSign;
93  }
94  /**
95   * @return bool
96   */
97  public function getCrlSign()
98  {
99    return $this->crlSign;
100  }
101  /**
102   * @param bool
103   */
104  public function setDataEncipherment($dataEncipherment)
105  {
106    $this->dataEncipherment = $dataEncipherment;
107  }
108  /**
109   * @return bool
110   */
111  public function getDataEncipherment()
112  {
113    return $this->dataEncipherment;
114  }
115  /**
116   * @param bool
117   */
118  public function setDecipherOnly($decipherOnly)
119  {
120    $this->decipherOnly = $decipherOnly;
121  }
122  /**
123   * @return bool
124   */
125  public function getDecipherOnly()
126  {
127    return $this->decipherOnly;
128  }
129  /**
130   * @param bool
131   */
132  public function setDigitalSignature($digitalSignature)
133  {
134    $this->digitalSignature = $digitalSignature;
135  }
136  /**
137   * @return bool
138   */
139  public function getDigitalSignature()
140  {
141    return $this->digitalSignature;
142  }
143  /**
144   * @param bool
145   */
146  public function setEncipherOnly($encipherOnly)
147  {
148    $this->encipherOnly = $encipherOnly;
149  }
150  /**
151   * @return bool
152   */
153  public function getEncipherOnly()
154  {
155    return $this->encipherOnly;
156  }
157  /**
158   * @param bool
159   */
160  public function setKeyAgreement($keyAgreement)
161  {
162    $this->keyAgreement = $keyAgreement;
163  }
164  /**
165   * @return bool
166   */
167  public function getKeyAgreement()
168  {
169    return $this->keyAgreement;
170  }
171  /**
172   * @param bool
173   */
174  public function setKeyEncipherment($keyEncipherment)
175  {
176    $this->keyEncipherment = $keyEncipherment;
177  }
178  /**
179   * @return bool
180   */
181  public function getKeyEncipherment()
182  {
183    return $this->keyEncipherment;
184  }
185}
186
187// Adding a class alias for backwards compatibility with the previous class name.
188class_alias(KeyUsageOptions::class, 'Google_Service_CertificateAuthorityService_KeyUsageOptions');
189