source: vendor/google/apiclient-services/src/CertificateAuthorityService/CertificateDescription.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 4.2 KB
Line 
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 /**
42 * @var string
43 */
44 public $tbsCertificateDigest;
45 protected $x509DescriptionType = X509Parameters::class;
46 protected $x509DescriptionDataType = '';
47
48 /**
49 * @param string[]
50 */
51 public function setAiaIssuingCertificateUrls($aiaIssuingCertificateUrls)
52 {
53 $this->aiaIssuingCertificateUrls = $aiaIssuingCertificateUrls;
54 }
55 /**
56 * @return string[]
57 */
58 public function getAiaIssuingCertificateUrls()
59 {
60 return $this->aiaIssuingCertificateUrls;
61 }
62 /**
63 * @param KeyId
64 */
65 public function setAuthorityKeyId(KeyId $authorityKeyId)
66 {
67 $this->authorityKeyId = $authorityKeyId;
68 }
69 /**
70 * @return KeyId
71 */
72 public function getAuthorityKeyId()
73 {
74 return $this->authorityKeyId;
75 }
76 /**
77 * @param CertificateFingerprint
78 */
79 public function setCertFingerprint(CertificateFingerprint $certFingerprint)
80 {
81 $this->certFingerprint = $certFingerprint;
82 }
83 /**
84 * @return CertificateFingerprint
85 */
86 public function getCertFingerprint()
87 {
88 return $this->certFingerprint;
89 }
90 /**
91 * @param string[]
92 */
93 public function setCrlDistributionPoints($crlDistributionPoints)
94 {
95 $this->crlDistributionPoints = $crlDistributionPoints;
96 }
97 /**
98 * @return string[]
99 */
100 public function getCrlDistributionPoints()
101 {
102 return $this->crlDistributionPoints;
103 }
104 /**
105 * @param PublicKey
106 */
107 public function setPublicKey(PublicKey $publicKey)
108 {
109 $this->publicKey = $publicKey;
110 }
111 /**
112 * @return PublicKey
113 */
114 public function getPublicKey()
115 {
116 return $this->publicKey;
117 }
118 /**
119 * @param SubjectDescription
120 */
121 public function setSubjectDescription(SubjectDescription $subjectDescription)
122 {
123 $this->subjectDescription = $subjectDescription;
124 }
125 /**
126 * @return SubjectDescription
127 */
128 public function getSubjectDescription()
129 {
130 return $this->subjectDescription;
131 }
132 /**
133 * @param KeyId
134 */
135 public function setSubjectKeyId(KeyId $subjectKeyId)
136 {
137 $this->subjectKeyId = $subjectKeyId;
138 }
139 /**
140 * @return KeyId
141 */
142 public function getSubjectKeyId()
143 {
144 return $this->subjectKeyId;
145 }
146 /**
147 * @param string
148 */
149 public function setTbsCertificateDigest($tbsCertificateDigest)
150 {
151 $this->tbsCertificateDigest = $tbsCertificateDigest;
152 }
153 /**
154 * @return string
155 */
156 public function getTbsCertificateDigest()
157 {
158 return $this->tbsCertificateDigest;
159 }
160 /**
161 * @param X509Parameters
162 */
163 public function setX509Description(X509Parameters $x509Description)
164 {
165 $this->x509Description = $x509Description;
166 }
167 /**
168 * @return X509Parameters
169 */
170 public function getX509Description()
171 {
172 return $this->x509Description;
173 }
174}
175
176// Adding a class alias for backwards compatibility with the previous class name.
177class_alias(CertificateDescription::class, 'Google_Service_CertificateAuthorityService_CertificateDescription');
Note: See TracBrowser for help on using the repository browser.