PluginProbe
Booking for Appointments and Events Calendar – Amelia / 1.2.32
Booking for Appointments and Events Calendar – Amelia v1.2.32
2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 All 59 releases
ameliabooking / vendor / microsoft / microsoft-graph / src / Model / ChangeNotificationEncryptedContent.php
ChangeNotificationEncryptedContent.php
167 lines 5.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4 *
5 * ChangeNotificationEncryptedContent File
6 * PHP version 7
7 *
8 * @category Library
9 * @package Microsoft.Graph
10 * @copyright (c) Microsoft Corporation. All rights reserved.
11 * @license https://opensource.org/licenses/MIT MIT License
12 * @link https://graph.microsoft.com
13 */
14 namespace Microsoft\Graph\Model;
15 /**
16 * ChangeNotificationEncryptedContent class
17 *
18 * @category Model
19 * @package Microsoft.Graph
20 * @copyright (c) Microsoft Corporation. All rights reserved.
21 * @license https://opensource.org/licenses/MIT MIT License
22 * @link https://graph.microsoft.com
23 */
24 class ChangeNotificationEncryptedContent extends Entity
25 {
26 /**
27 * Gets the data
28 * Base64-encoded encrypted data that produces a full resource respresented as JSON. The data has been encrypted with the provided dataKey using an AES/CBC/PKCS5PADDING cipher suite.
29 *
30 * @return string|null The data
31 */
32 public function getData()
33 {
34 if (array_key_exists("data", $this->_propDict)) {
35 return $this->_propDict["data"];
36 } else {
37 return null;
38 }
39 }
40
41 /**
42 * Sets the data
43 * Base64-encoded encrypted data that produces a full resource respresented as JSON. The data has been encrypted with the provided dataKey using an AES/CBC/PKCS5PADDING cipher suite.
44 *
45 * @param string $val The value of the data
46 *
47 * @return ChangeNotificationEncryptedContent
48 */
49 public function setData($val)
50 {
51 $this->_propDict["data"] = $val;
52 return $this;
53 }
54 /**
55 * Gets the dataKey
56 * Base64-encoded symmetric key generated by Microsoft Graph to encrypt the data value and to generate the data signature. This key is encrypted with the certificate public key that was provided during the subscription. It must be decrypted with the certificate private key before it can be used to decrypt the data or verify the signature. This key has been encrypted with the following cipher suite: RSA/ECB/OAEPWithSHA1AndMGF1Padding.
57 *
58 * @return string|null The dataKey
59 */
60 public function getDataKey()
61 {
62 if (array_key_exists("dataKey", $this->_propDict)) {
63 return $this->_propDict["dataKey"];
64 } else {
65 return null;
66 }
67 }
68
69 /**
70 * Sets the dataKey
71 * Base64-encoded symmetric key generated by Microsoft Graph to encrypt the data value and to generate the data signature. This key is encrypted with the certificate public key that was provided during the subscription. It must be decrypted with the certificate private key before it can be used to decrypt the data or verify the signature. This key has been encrypted with the following cipher suite: RSA/ECB/OAEPWithSHA1AndMGF1Padding.
72 *
73 * @param string $val The value of the dataKey
74 *
75 * @return ChangeNotificationEncryptedContent
76 */
77 public function setDataKey($val)
78 {
79 $this->_propDict["dataKey"] = $val;
80 return $this;
81 }
82 /**
83 * Gets the dataSignature
84 * Base64-encoded HMAC-SHA256 hash of the data for validation purposes.
85 *
86 * @return string|null The dataSignature
87 */
88 public function getDataSignature()
89 {
90 if (array_key_exists("dataSignature", $this->_propDict)) {
91 return $this->_propDict["dataSignature"];
92 } else {
93 return null;
94 }
95 }
96
97 /**
98 * Sets the dataSignature
99 * Base64-encoded HMAC-SHA256 hash of the data for validation purposes.
100 *
101 * @param string $val The value of the dataSignature
102 *
103 * @return ChangeNotificationEncryptedContent
104 */
105 public function setDataSignature($val)
106 {
107 $this->_propDict["dataSignature"] = $val;
108 return $this;
109 }
110 /**
111 * Gets the encryptionCertificateId
112 * ID of the certificate used to encrypt the dataKey.
113 *
114 * @return string|null The encryptionCertificateId
115 */
116 public function getEncryptionCertificateId()
117 {
118 if (array_key_exists("encryptionCertificateId", $this->_propDict)) {
119 return $this->_propDict["encryptionCertificateId"];
120 } else {
121 return null;
122 }
123 }
124
125 /**
126 * Sets the encryptionCertificateId
127 * ID of the certificate used to encrypt the dataKey.
128 *
129 * @param string $val The value of the encryptionCertificateId
130 *
131 * @return ChangeNotificationEncryptedContent
132 */
133 public function setEncryptionCertificateId($val)
134 {
135 $this->_propDict["encryptionCertificateId"] = $val;
136 return $this;
137 }
138 /**
139 * Gets the encryptionCertificateThumbprint
140 * Hexadecimal representation of the thumbprint of the certificate used to encrypt the dataKey.
141 *
142 * @return string|null The encryptionCertificateThumbprint
143 */
144 public function getEncryptionCertificateThumbprint()
145 {
146 if (array_key_exists("encryptionCertificateThumbprint", $this->_propDict)) {
147 return $this->_propDict["encryptionCertificateThumbprint"];
148 } else {
149 return null;
150 }
151 }
152
153 /**
154 * Sets the encryptionCertificateThumbprint
155 * Hexadecimal representation of the thumbprint of the certificate used to encrypt the dataKey.
156 *
157 * @param string $val The value of the encryptionCertificateThumbprint
158 *
159 * @return ChangeNotificationEncryptedContent
160 */
161 public function setEncryptionCertificateThumbprint($val)
162 {
163 $this->_propDict["encryptionCertificateThumbprint"] = $val;
164 return $this;
165 }
166 }
167