Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.44
0.3.45
4 changes: 2 additions & 2 deletions src/UKMS/Apis/CreateAliasRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function setAliasName($aliasName)
}

/**
* KeyId: 密钥 ID、ARN 或别名。
* KeyId: 密钥 ID 或别名。
*
* @return string|null
*/
Expand All @@ -101,7 +101,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥 ID、ARN 或别名。
* KeyId: 密钥 ID 或别名。
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/DisableKeyRotationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥 ID、ARN 或别名
* KeyId: 密钥 ID或别名
*
* @return string|null
*/
Expand All @@ -81,7 +81,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥 ID、ARN 或别名
* KeyId: 密钥 ID或别名
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/EncryptRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function setRegion($region)
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名。
* KeyId: 密钥资源长 ID 或别名。
*
* @return string|null
*/
Expand All @@ -81,7 +81,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名。
* KeyId: 密钥资源长 ID 或别名。
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/GenerateDataKeyWithoutPlaintextRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名
* KeyId: 密钥资源长 ID或别名
*
* @return string|null
*/
Expand All @@ -80,7 +80,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名
* KeyId: 密钥资源长 ID或别名
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/GetKeyRotationStatusRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名。
* KeyId: 密钥资源长 ID 或别名。
*
* @return string|null
*/
Expand All @@ -81,7 +81,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名。
* KeyId: 密钥资源长 ID 或别名。
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/GetPublicKeyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥 ID、ARN 或别名
* KeyId: 密钥 ID 或 别名
*
* @return string|null
*/
Expand All @@ -80,7 +80,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥 ID、ARN 或别名
* KeyId: 密钥 ID 或 别名
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/RotateKeyOnDemandRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥 ID、ARN 或别名。
* KeyId: 密钥 ID 或别名。
*
* @return string|null
*/
Expand All @@ -81,7 +81,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥 ID、ARN 或别名。
* KeyId: 密钥 ID 或别名。
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/SignRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名。
* KeyId: 密钥资源长 ID 或别名。
*
* @return string|null
*/
Expand All @@ -82,7 +82,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名。
* KeyId: 密钥资源长 ID 或别名。
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/UpdateAliasRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function setAliasName($aliasName)
}

/**
* KeyId: 密钥 ID、ARN 或别名。
* KeyId: 密钥 ID 或别名。
*
* @return string|null
*/
Expand All @@ -101,7 +101,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥 ID、ARN 或别名。
* KeyId: 密钥 ID 或别名。
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/UpdateKeyDescriptionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名
* KeyId: 密钥资源长 ID或别名
*
* @return string|null
*/
Expand All @@ -81,7 +81,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥资源长 ID、ARN 或别名
* KeyId: 密钥资源长 ID或别名
*
* @param string $keyId
*/
Expand Down
4 changes: 2 additions & 2 deletions src/UKMS/Apis/VerifyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function setProjectId($projectId)
}

/**
* KeyId: 密钥 ID、ARN 或别名
* KeyId: 密钥 ID或别名
*
* @return string|null
*/
Expand All @@ -83,7 +83,7 @@ public function getKeyId()
}

/**
* KeyId: 密钥 ID、ARN 或别名
* KeyId: 密钥 ID或别名
*
* @param string $keyId
*/
Expand Down
22 changes: 11 additions & 11 deletions src/UKMS/UKMSClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function cancelKeyDeletion(CancelKeyDeletionRequest $request = null)
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "AliasName" => (string) 密钥别名,格式为 alias/name。
* "KeyId" => (string) 密钥 ID、ARN 或别名。
* "KeyId" => (string) 密钥 ID 或别名。
* "ResourceId" => (string) UKMS 实例资源 ID。
* ]
*
Expand Down Expand Up @@ -317,7 +317,7 @@ public function disableKey(DisableKeyRequest $request = null)
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥 ID、ARN 或别名
* "KeyId" => (string) 密钥 ID或别名
* "ResourceId" => (string) UKMS 实例资源 ID。
* ]
*
Expand Down Expand Up @@ -402,7 +402,7 @@ public function enableKeyRotation(EnableKeyRotationRequest $request = null)
* $args = [
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "Region" => (string) 地域。参见地域和可用区列表。
* "KeyId" => (string) 密钥资源长 ID、ARN 或别名。
* "KeyId" => (string) 密钥资源长 ID 或别名。
* "Plaintext" => (string) 待加密明文,Base64 编码。
* "EncryptionContext" => (string) 加密上下文,JSON Object。该参数内容会记录在日志中,请勿传入密码、密钥、令牌等敏感信息。
* "ResourceId" => (string) UKMS 实例资源 ID。
Expand Down Expand Up @@ -533,7 +533,7 @@ public function generateDataKeyPairWithoutPlaintext(GenerateDataKeyPairWithoutPl
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥资源长 ID、ARN 或别名
* "KeyId" => (string) 密钥资源长 ID或别名
* "ResourceId" => (string) UKMS 实例资源 ID。
* "KeySpec" => (string) 数据密钥规格。可选值:AES_256、AES_128;默认 AES_256。与 NumberOfBytes 二选一,同时填写时 NumberOfBytes 优先。
* "NumberOfBytes" => (integer) 生成数据密钥的字节长度,取值范围 1~1024。与 KeySpec 二选一,同时填写时本字段优先。
Expand Down Expand Up @@ -625,7 +625,7 @@ public function generateRandom(GenerateRandomRequest $request = null)
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥资源长 ID、ARN 或别名。
* "KeyId" => (string) 密钥资源长 ID 或别名。
* "ResourceId" => (string) UKMS 实例资源 ID。
* ]
*
Expand Down Expand Up @@ -659,7 +659,7 @@ public function getKeyRotationStatus(GetKeyRotationStatusRequest $request = null
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥 ID、ARN 或别名
* "KeyId" => (string) 密钥 ID 或 别名
* "ResourceId" => (string) UKMS 实例资源 ID。
* ]
*
Expand Down Expand Up @@ -788,7 +788,7 @@ public function listKeys(ListKeysRequest $request = null)
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥 ID、ARN 或别名。
* "KeyId" => (string) 密钥 ID 或别名。
* "ResourceId" => (string) UKMS 实例资源 ID。
* ]
*
Expand Down Expand Up @@ -846,7 +846,7 @@ public function scheduleKeyDeletion(ScheduleKeyDeletionRequest $request = null)
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥资源长 ID、ARN 或别名。
* "KeyId" => (string) 密钥资源长 ID 或别名。
* "SigningMessage" => (string) 待签名消息,Base64 编码,最大 4096 字节。
* "SigningAlgorithm" => (string) 签名算法。可选值:RSASSA_PSS_SHA_256、RSASSA_PSS_SHA_384、RSASSA_PSS_SHA_512、RSASSA_PKCS1_V1_5_SHA_256、RSASSA_PKCS1_V1_5_SHA_384、RSASSA_PKCS1_V1_5_SHA_512、ECDSA_SHA_256、ECDSA_SHA_384、ECDSA_SHA_512;须与密钥 KeySpec 匹配。
* "ResourceId" => (string) UKMS 实例资源 ID。
Expand Down Expand Up @@ -881,7 +881,7 @@ public function sign(SignRequest $request = null)
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "AliasName" => (string) 密钥别名,格式为 alias/name。
* "KeyId" => (string) 密钥 ID、ARN 或别名。
* "KeyId" => (string) 密钥 ID 或别名。
* "ResourceId" => (string) UKMS 实例资源 ID。
* ]
*
Expand Down Expand Up @@ -909,7 +909,7 @@ public function updateAlias(UpdateAliasRequest $request = null)
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥资源长 ID、ARN 或别名
* "KeyId" => (string) 密钥资源长 ID或别名
* "Description" => (string) 新的密钥描述,最多 8192 字符;空字符串表示清空描述。
* "ResourceId" => (string) UKMS 实例资源 ID。
* ]
Expand Down Expand Up @@ -940,7 +940,7 @@ public function updateKeyDescription(UpdateKeyDescriptionRequest $request = null
* $args = [
* "Region" => (string) 地域。参见地域和可用区列表。
* "ProjectId" => (string) 项目ID。不填写为默认项目,子账号必须填写。
* "KeyId" => (string) 密钥 ID、ARN 或别名
* "KeyId" => (string) 密钥 ID或别名
* "SigningMessage" => (string) 待验签的消息或消息摘要,Base64 编码。
* "SignatureResult" => (string) 待验证的签名,Base64 编码。
* "SigningAlgorithm" => (string) 签名时使用的算法。可选值:RSASSA_PSS_SHA_256、RSASSA_PSS_SHA_384、RSASSA_PSS_SHA_512、RSASSA_PKCS1_V1_5_SHA_256、RSASSA_PKCS1_V1_5_SHA_384、RSASSA_PKCS1_V1_5_SHA_512、ECDSA_SHA_256、ECDSA_SHA_384、ECDSA_SHA_512;须与密钥 KeySpec 匹配。
Expand Down
Loading