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 CertificateDescription extends \Google\Collection
21{
22  protected $collection_key = 'crlDistributionPoints';
23  /**
24   * @var string[]
25   */
26  public $aiaIssuingCertificateUrls;
27  protected $authorityKeyIdType = KeyId::class;
28  protected $authorityKeyIdDataType = '';
29  protected $certFingerprintType = CertificateFingerprint::class;
30  protected $certFingerprintDataType = '';
31  /**
32   * @var string[]
33   */
34  public $crlDistributionPoints;
35  protected $publicKeyType = PublicKey::class;
36  protected $publicKeyDataType = '';
37  protected $subjectDescriptionType = SubjectDescription::class;
38  protected $subjectDescriptionDataType = '';
39  protected $subjectKeyIdType = KeyId::class;
40  protected $subjectKeyIdDataType = '';
41  protected $x509DescriptionType = X509Parameters::class;
42  protected $x509DescriptionDataType = '';
43
44  /**
45   * @param string[]
46   */
47  public function setAiaIssuingCertificateUrls($aiaIssuingCertificateUrls)
48  {
49    $this->aiaIssuingCertificateUrls = $aiaIssuingCertificateUrls;
50  }
51  /**
52   * @return string[]
53   */
54  public function getAiaIssuingCertificateUrls()
55  {
56    return $this->aiaIssuingCertificateUrls;
57  }
58  /**
59   * @param KeyId
60   */
61  public function setAuthorityKeyId(KeyId $authorityKeyId)
62  {
63    $this->authorityKeyId = $authorityKeyId;
64  }
65  /**
66   * @return KeyId
67   */
68  public function getAuthorityKeyId()
69  {
70    return $this->authorityKeyId;
71  }
72  /**
73   * @param CertificateFingerprint
74   */
75  public function setCertFingerprint(CertificateFingerprint $certFingerprint)
76  {
77    $this->certFingerprint = $certFingerprint;
78  }
79  /**
80   * @return CertificateFingerprint
81   */
82  public function getCertFingerprint()
83  {
84    return $this->certFingerprint;
85  }
86  /**
87   * @param string[]
88   */
89  public function setCrlDistributionPoints($crlDistributionPoints)
90  {
91    $this->crlDistributionPoints = $crlDistributionPoints;
92  }
93  /**
94   * @return string[]
95   */
96  public function getCrlDistributionPoints()
97  {
98    return $this->crlDistributionPoints;
99  }
100  /**
101   * @param PublicKey
102   */
103  public function setPublicKey(PublicKey $publicKey)
104  {
105    $this->publicKey = $publicKey;
106  }
107  /**
108   * @return PublicKey
109   */
110  public function getPublicKey()
111  {
112    return $this->publicKey;
113  }
114  /**
115   * @param SubjectDescription
116   */
117  public function setSubjectDescription(SubjectDescription $subjectDescription)
118  {
119    $this->subjectDescription = $subjectDescription;
120  }
121  /**
122   * @return SubjectDescription
123   */
124  public function getSubjectDescription()
125  {
126    return $this->subjectDescription;
127  }
128  /**
129   * @param KeyId
130   */
131  public function setSubjectKeyId(KeyId $subjectKeyId)
132  {
133    $this->subjectKeyId = $subjectKeyId;
134  }
135  /**
136   * @return KeyId
137   */
138  public function getSubjectKeyId()
139  {
140    return $this->subjectKeyId;
141  }
142  /**
143   * @param X509Parameters
144   */
145  public function setX509Description(X509Parameters $x509Description)
146  {
147    $this->x509Description = $x509Description;
148  }
149  /**
150   * @return X509Parameters
151   */
152  public function getX509Description()
153  {
154    return $this->x509Description;
155  }
156}
157
158// Adding a class alias for backwards compatibility with the previous class name.
159class_alias(CertificateDescription::class, 'Google_Service_CertificateAuthorityService_CertificateDescription');
160