| Package | Description |
|---|---|
| com.huaweicloud.sdk.roma.v2 | |
| com.huaweicloud.sdk.roma.v2.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<AssociateSignatureKeyV2Request,AssociateSignatureKeyV2Response> |
RomaMeta.associateSignatureKeyV2 |
| Modifier and Type | Method and Description |
|---|---|
AssociateSignatureKeyV2Response |
RomaClient.associateSignatureKeyV2(AssociateSignatureKeyV2Request request)
绑定签名密钥
签名密钥创建后,需要绑定到API才能生效。
将签名密钥绑定到API后,则ROMA Connect APIC请求后端服务时就会使用这个签名密钥进行加密签名,后端服务可以校验这个签名来验证请求来源。
将指定的签名密钥绑定到一个或多个已发布的API上。同一个API发布到不同的环境可以绑定不同的签名密钥;一个API在发布到特定环境后只能绑定一个签名密钥。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<AssociateSignatureKeyV2Response> |
RomaAsyncClient.associateSignatureKeyV2Async(AssociateSignatureKeyV2Request request)
绑定签名密钥
签名密钥创建后,需要绑定到API才能生效。
将签名密钥绑定到API后,则ROMA Connect APIC请求后端服务时就会使用这个签名密钥进行加密签名,后端服务可以校验这个签名来验证请求来源。
将指定的签名密钥绑定到一个或多个已发布的API上。同一个API发布到不同的环境可以绑定不同的签名密钥;一个API在发布到特定环境后只能绑定一个签名密钥。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<AssociateSignatureKeyV2Request,AssociateSignatureKeyV2Response> |
RomaAsyncClient.associateSignatureKeyV2AsyncInvoker(AssociateSignatureKeyV2Request request)
绑定签名密钥
签名密钥创建后,需要绑定到API才能生效。
将签名密钥绑定到API后,则ROMA Connect APIC请求后端服务时就会使用这个签名密钥进行加密签名,后端服务可以校验这个签名来验证请求来源。
将指定的签名密钥绑定到一个或多个已发布的API上。同一个API发布到不同的环境可以绑定不同的签名密钥;一个API在发布到特定环境后只能绑定一个签名密钥。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<AssociateSignatureKeyV2Request,AssociateSignatureKeyV2Response> |
RomaClient.associateSignatureKeyV2Invoker(AssociateSignatureKeyV2Request request)
绑定签名密钥
签名密钥创建后,需要绑定到API才能生效。
将签名密钥绑定到API后,则ROMA Connect APIC请求后端服务时就会使用这个签名密钥进行加密签名,后端服务可以校验这个签名来验证请求来源。
将指定的签名密钥绑定到一个或多个已发布的API上。同一个API发布到不同的环境可以绑定不同的签名密钥;一个API在发布到特定环境后只能绑定一个签名密钥。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
AssociateSignatureKeyV2Response |
AssociateSignatureKeyV2Response.addBindingsItem(SignApiBindingInfo bindingsItem) |
AssociateSignatureKeyV2Response |
AssociateSignatureKeyV2Response.withBindings(java.util.function.Consumer<List<SignApiBindingInfo>> bindingsSetter) |
AssociateSignatureKeyV2Response |
AssociateSignatureKeyV2Response.withBindings(List<SignApiBindingInfo> bindings) |
Copyright © 2022. All rights reserved.