source: vendor/google/apiclient-services/src/CertificateAuthorityService/CertificateConfig.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 2.3 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 CertificateConfig extends \Google\Model
21{
22 protected $publicKeyType = PublicKey::class;
23 protected $publicKeyDataType = '';
24 protected $subjectConfigType = SubjectConfig::class;
25 protected $subjectConfigDataType = '';
26 protected $subjectKeyIdType = CertificateConfigKeyId::class;
27 protected $subjectKeyIdDataType = '';
28 protected $x509ConfigType = X509Parameters::class;
29 protected $x509ConfigDataType = '';
30
31 /**
32 * @param PublicKey
33 */
34 public function setPublicKey(PublicKey $publicKey)
35 {
36 $this->publicKey = $publicKey;
37 }
38 /**
39 * @return PublicKey
40 */
41 public function getPublicKey()
42 {
43 return $this->publicKey;
44 }
45 /**
46 * @param SubjectConfig
47 */
48 public function setSubjectConfig(SubjectConfig $subjectConfig)
49 {
50 $this->subjectConfig = $subjectConfig;
51 }
52 /**
53 * @return SubjectConfig
54 */
55 public function getSubjectConfig()
56 {
57 return $this->subjectConfig;
58 }
59 /**
60 * @param CertificateConfigKeyId
61 */
62 public function setSubjectKeyId(CertificateConfigKeyId $subjectKeyId)
63 {
64 $this->subjectKeyId = $subjectKeyId;
65 }
66 /**
67 * @return CertificateConfigKeyId
68 */
69 public function getSubjectKeyId()
70 {
71 return $this->subjectKeyId;
72 }
73 /**
74 * @param X509Parameters
75 */
76 public function setX509Config(X509Parameters $x509Config)
77 {
78 $this->x509Config = $x509Config;
79 }
80 /**
81 * @return X509Parameters
82 */
83 public function getX509Config()
84 {
85 return $this->x509Config;
86 }
87}
88
89// Adding a class alias for backwards compatibility with the previous class name.
90class_alias(CertificateConfig::class, 'Google_Service_CertificateAuthorityService_CertificateConfig');
Note: See TracBrowser for help on using the repository browser.