Skip to content

Commit 0a680f4

Browse files
committed
Generated 2016-01-20 for Kms.
1 parent 8f97408 commit 0a680f4

File tree

5 files changed

+314
-1
lines changed

5 files changed

+314
-1
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-08-30 Version: 2.15.5
2+
- Generated 2016-01-20 for `Kms`.
3+
14
2024-08-30 Version: 1.0.4
25
- QuotaApplication Add QuotaCategory.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
using Aliyun.Acs.Core.Http;
23+
using Aliyun.Acs.Core.Transform;
24+
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Kms.Transform;
26+
using Aliyun.Acs.Kms.Transform.V20160120;
27+
28+
namespace Aliyun.Acs.Kms.Model.V20160120
29+
{
30+
public class AdvanceEncryptRequest : RpcAcsRequest<AdvanceEncryptResponse>
31+
{
32+
public AdvanceEncryptRequest()
33+
: base("Kms", "2016-01-20", "AdvanceEncrypt", "kms", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Kms.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Kms.Endpoint.endpointRegionalType, null);
39+
}
40+
Protocol = ProtocolType.HTTPS;
41+
Method = MethodType.POST;
42+
}
43+
44+
private string paddingMode;
45+
46+
private string aad;
47+
48+
private string keyId;
49+
50+
private string plaintext;
51+
52+
private string iv;
53+
54+
private string algorithm;
55+
56+
public string PaddingMode
57+
{
58+
get
59+
{
60+
return paddingMode;
61+
}
62+
set
63+
{
64+
paddingMode = value;
65+
DictionaryUtil.Add(QueryParameters, "PaddingMode", value);
66+
}
67+
}
68+
69+
public string Aad
70+
{
71+
get
72+
{
73+
return aad;
74+
}
75+
set
76+
{
77+
aad = value;
78+
DictionaryUtil.Add(QueryParameters, "Aad", value);
79+
}
80+
}
81+
82+
public string KeyId
83+
{
84+
get
85+
{
86+
return keyId;
87+
}
88+
set
89+
{
90+
keyId = value;
91+
DictionaryUtil.Add(QueryParameters, "KeyId", value);
92+
}
93+
}
94+
95+
public string Plaintext
96+
{
97+
get
98+
{
99+
return plaintext;
100+
}
101+
set
102+
{
103+
plaintext = value;
104+
DictionaryUtil.Add(QueryParameters, "Plaintext", value);
105+
}
106+
}
107+
108+
public string Iv
109+
{
110+
get
111+
{
112+
return iv;
113+
}
114+
set
115+
{
116+
iv = value;
117+
DictionaryUtil.Add(QueryParameters, "Iv", value);
118+
}
119+
}
120+
121+
public string Algorithm
122+
{
123+
get
124+
{
125+
return algorithm;
126+
}
127+
set
128+
{
129+
algorithm = value;
130+
DictionaryUtil.Add(QueryParameters, "Algorithm", value);
131+
}
132+
}
133+
134+
public override AdvanceEncryptResponse GetResponse(UnmarshallerContext unmarshallerContext)
135+
{
136+
return AdvanceEncryptResponseUnmarshaller.Unmarshall(unmarshallerContext);
137+
}
138+
}
139+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
using Newtonsoft.Json;
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.Kms.Model.V20160120
24+
{
25+
public class AdvanceEncryptResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string ciphertextBlob;
31+
32+
private string algorithm;
33+
34+
private string keyId;
35+
36+
private string keyVersionId;
37+
38+
private string iv;
39+
40+
private string paddingMode;
41+
42+
public string RequestId
43+
{
44+
get
45+
{
46+
return requestId;
47+
}
48+
set
49+
{
50+
requestId = value;
51+
}
52+
}
53+
54+
public string CiphertextBlob
55+
{
56+
get
57+
{
58+
return ciphertextBlob;
59+
}
60+
set
61+
{
62+
ciphertextBlob = value;
63+
}
64+
}
65+
66+
public string Algorithm
67+
{
68+
get
69+
{
70+
return algorithm;
71+
}
72+
set
73+
{
74+
algorithm = value;
75+
}
76+
}
77+
78+
public string KeyId
79+
{
80+
get
81+
{
82+
return keyId;
83+
}
84+
set
85+
{
86+
keyId = value;
87+
}
88+
}
89+
90+
public string KeyVersionId
91+
{
92+
get
93+
{
94+
return keyVersionId;
95+
}
96+
set
97+
{
98+
keyVersionId = value;
99+
}
100+
}
101+
102+
public string Iv
103+
{
104+
get
105+
{
106+
return iv;
107+
}
108+
set
109+
{
110+
iv = value;
111+
}
112+
}
113+
114+
public string PaddingMode
115+
{
116+
get
117+
{
118+
return paddingMode;
119+
}
120+
set
121+
{
122+
paddingMode = value;
123+
}
124+
}
125+
}
126+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
22+
using Aliyun.Acs.Core.Transform;
23+
using Aliyun.Acs.Kms.Model.V20160120;
24+
25+
namespace Aliyun.Acs.Kms.Transform.V20160120
26+
{
27+
public class AdvanceEncryptResponseUnmarshaller
28+
{
29+
public static AdvanceEncryptResponse Unmarshall(UnmarshallerContext _ctx)
30+
{
31+
AdvanceEncryptResponse advanceEncryptResponse = new AdvanceEncryptResponse();
32+
33+
advanceEncryptResponse.HttpResponse = _ctx.HttpResponse;
34+
advanceEncryptResponse.RequestId = _ctx.StringValue("AdvanceEncrypt.RequestId");
35+
advanceEncryptResponse.CiphertextBlob = _ctx.StringValue("AdvanceEncrypt.CiphertextBlob");
36+
advanceEncryptResponse.Algorithm = _ctx.StringValue("AdvanceEncrypt.Algorithm");
37+
advanceEncryptResponse.KeyId = _ctx.StringValue("AdvanceEncrypt.KeyId");
38+
advanceEncryptResponse.KeyVersionId = _ctx.StringValue("AdvanceEncrypt.KeyVersionId");
39+
advanceEncryptResponse.Iv = _ctx.StringValue("AdvanceEncrypt.Iv");
40+
advanceEncryptResponse.PaddingMode = _ctx.StringValue("AdvanceEncrypt.PaddingMode");
41+
42+
return advanceEncryptResponse;
43+
}
44+
}
45+
}

aliyun-net-sdk-kms/aliyun-net-sdk-kms.vs2017.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
55
<RootNamespace>Aliyun.Acs.Kms</RootNamespace>
6-
<Version>2.15.4</Version>
6+
<Version>2.15.5</Version>
77
<Authors>Alibaba Cloud</Authors>
88
<Copyright>©2009-2019 Alibaba Cloud</Copyright>
99
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>

0 commit comments

Comments
 (0)