bce-python-sdk 0.9.45__tar.gz → 0.9.46__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/PKG-INFO +1 -1
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/__init__.py +1 -1
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/kms/kms_client.py +116 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/bce_python_sdk.egg-info/PKG-INFO +1 -1
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/README.txt +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/auth/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/auth/bce_credentials.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/auth/bce_v1_signer.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/bce_base_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/bce_client_configuration.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/bce_response.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/compat.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/exception.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/http/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/http/bce_http_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/http/handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/http/http_content_types.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/http/http_headers.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/http/http_methods.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/protocol.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/region.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/retry/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/retry/retry_policy.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/autoscaling/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/autoscaling/as_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/autoscaling/as_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/autoscaling/as_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bbc/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bbc/bbc_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bbc/bbc_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcc/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcc/bcc_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcc/bcc_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcc/fpga_card_type.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcc/gpu_card_type.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcm/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcm/bcm_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcm/bcm_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bcm/bcm_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bes/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bes/bes_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bes/bes_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/blb/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/blb/app_blb_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/blb/blb_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/blb/user_service_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bls/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bls/bls_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bls/bls_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bls/bls_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bmr/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bmr/bmr_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bos/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bos/bos_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bos/bos_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bos/canned_acl.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bos/common.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bos/storage_class.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bts/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bts/bts_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bts/model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/bts/util.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ca/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ca/ca_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ca/ca_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ca/ca_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cdn/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cdn/cdn_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cdn/cdn_stats_param.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cert/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cert/cert_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cert/cert_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cfc/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cfc/cfc_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cfc/cfc_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/cfc/models.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/csn/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/csn/csn_api.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/csn/csn_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/csn/csn_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ddc/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ddc/ddc_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/dns/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/dns/api/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/dns/api/dns_api.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/dns/dns_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/dumap/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/dumap/dumap_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eip/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eip/eip_bp_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eip/eip_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eip/eip_group_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eip/eip_group_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eip/eip_tp_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eip/model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/endpoint/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/endpoint/endpoint_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/endpoint/model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eni/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eni/eni_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/eni/eni_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/esg/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/esg/esg_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/esg/esg_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/et/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/et/et_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/et/model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/etGateway/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/etGateway/et_gateway_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/havip/havip_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/iam/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/iam/iam_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/infinite/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/infinite/infinite_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ipv6gateway/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ipv6gateway/ipv6gateway_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ipv6gateway/ipv6gateway_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/kms/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/kms/keyspec_class.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/kms/origin_class.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/kms/protectedby_class.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/kms/publickeyencoding_class.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/lbdc/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/lbdc/lbdc_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/lbdc/model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/localdns/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/localdns/api/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/localdns/api/ld_api.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/localdns/ld_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/media/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/media/media_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/media/media_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/mms/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/mms/mms_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/mvs/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/mvs/mvs_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/oos/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/oos/oos_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/oos/oos_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/probe/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/probe/probe_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/rds/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/rds/rds_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/rds/rds_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/route/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/route/route_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/route/route_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/scs/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/scs/model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/scs/scs_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/sms/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/sms/model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/sms/sms_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/sts/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/sts/sts_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/subnet/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/subnet/subnet_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/tsdb/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/tsdb/tsdb_admin_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/tsdb/tsdb_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/tsdb/tsdb_handler.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vca/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vca/vca_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vcr/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vcr/vcr_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/acl_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/nat_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/nat_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/peerconn_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/peerconn_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/template_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/template_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpc/vpc_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpn/__init__.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpn/vpn_client.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/vpn/vpn_model.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/utils.py +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/bce_python_sdk.egg-info/SOURCES.txt +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/bce_python_sdk.egg-info/dependency_links.txt +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/bce_python_sdk.egg-info/requires.txt +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/bce_python_sdk.egg-info/top_level.txt +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/setup.cfg +0 -0
- {bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/setup.py +0 -0
|
@@ -20,6 +20,7 @@ import logging
|
|
|
20
20
|
import random
|
|
21
21
|
import string
|
|
22
22
|
import uuid
|
|
23
|
+
import binascii
|
|
23
24
|
|
|
24
25
|
from baidubce.bce_base_client import BceBaseClient
|
|
25
26
|
from baidubce.utils import required
|
|
@@ -163,6 +164,121 @@ class KmsClient(BceBaseClient):
|
|
|
163
164
|
return self._send_request(http_methods.POST, path, json.dumps(body),
|
|
164
165
|
params=params, config=config)
|
|
165
166
|
|
|
167
|
+
@required(keyId=(str, bytes), algorithm=(str, bytes), message=(str, bytes))
|
|
168
|
+
def sign(self, keyId, algorithm, message, keyVersion=None, messageType='RAW', config=None):
|
|
169
|
+
"""
|
|
170
|
+
Sign the message using asymmetric key
|
|
171
|
+
:type keyId: string
|
|
172
|
+
:param keyId: indicate which masterkey to use for signing
|
|
173
|
+
|
|
174
|
+
:type algorithm: string
|
|
175
|
+
:param algorithm: signing algorithm (RSA_PKCS1_SHA_256/SM2DSA)
|
|
176
|
+
|
|
177
|
+
:type message: string
|
|
178
|
+
:param message: message to sign (Base64 encoded)
|
|
179
|
+
|
|
180
|
+
:type keyVersion: string
|
|
181
|
+
:param keyVersion: key version (optional)
|
|
182
|
+
|
|
183
|
+
:type messageType: string
|
|
184
|
+
:param messageType: message type (RAW/DIGEST, default RAW)
|
|
185
|
+
:raises: ValueError if message length or format is invalid
|
|
186
|
+
"""
|
|
187
|
+
if messageType not in ('RAW', 'DIGEST'):
|
|
188
|
+
raise ValueError("messageType must be either 'RAW' or 'DIGEST'")
|
|
189
|
+
|
|
190
|
+
# Validate message length based on type
|
|
191
|
+
if messageType == 'RAW':
|
|
192
|
+
if len(message) > 4096:
|
|
193
|
+
raise ValueError("Base64 encoded RAW message length must be <= 4096 bytes")
|
|
194
|
+
elif messageType == 'DIGEST':
|
|
195
|
+
try:
|
|
196
|
+
decoded = base64.b64decode(message)
|
|
197
|
+
if len(decoded) != 32:
|
|
198
|
+
raise ValueError("Digest length must be 32 bytes after base64 decoding")
|
|
199
|
+
except (binascii.Error, TypeError):
|
|
200
|
+
raise ValueError("message must be base64 encoded")
|
|
201
|
+
path = b'/'
|
|
202
|
+
params = {}
|
|
203
|
+
params['action'] = b'Sign'
|
|
204
|
+
body = {
|
|
205
|
+
'keyId': keyId,
|
|
206
|
+
'algorithm': algorithm,
|
|
207
|
+
'message': message,
|
|
208
|
+
'messageType': messageType
|
|
209
|
+
}
|
|
210
|
+
if keyVersion:
|
|
211
|
+
body['keyVersion'] = keyVersion
|
|
212
|
+
|
|
213
|
+
return self._send_request(http_methods.POST, path, json.dumps(body),
|
|
214
|
+
params=params, config=config)
|
|
215
|
+
|
|
216
|
+
@required(keyId=(str, bytes), algorithm=(str, bytes), signature=(str, bytes), message=(str, bytes))
|
|
217
|
+
def verify(self, keyId, algorithm, signature, message, keyVersion=None, messageType='RAW', config=None):
|
|
218
|
+
"""
|
|
219
|
+
Verify the signature using asymmetric key
|
|
220
|
+
:type keyId: string
|
|
221
|
+
:param keyId: indicate which masterkey to use for verification
|
|
222
|
+
|
|
223
|
+
:type algorithm: string
|
|
224
|
+
:param algorithm: signing algorithm (RSA_PKCS1_SHA_256/SM2DSA)
|
|
225
|
+
|
|
226
|
+
:type signature: string
|
|
227
|
+
:param signature: signature to verify (Base64 encoded)
|
|
228
|
+
|
|
229
|
+
:type message: string
|
|
230
|
+
:param message: original message (Base64 encoded)
|
|
231
|
+
|
|
232
|
+
:type keyVersion: string
|
|
233
|
+
:param keyVersion: key version (optional)
|
|
234
|
+
|
|
235
|
+
:type messageType: string
|
|
236
|
+
:param messageType: message type (RAW/DIGEST, default RAW)
|
|
237
|
+
"""
|
|
238
|
+
# Validate message type
|
|
239
|
+
if messageType not in ('RAW', 'DIGEST'):
|
|
240
|
+
raise ValueError("messageType must be either 'RAW' or 'DIGEST'")
|
|
241
|
+
|
|
242
|
+
# Validate message length based on type
|
|
243
|
+
if messageType == 'RAW':
|
|
244
|
+
if len(message) > 4096:
|
|
245
|
+
raise ValueError("Base64 encoded RAW message length must be <= 4096 bytes")
|
|
246
|
+
elif messageType == 'DIGEST':
|
|
247
|
+
try:
|
|
248
|
+
decoded = base64.b64decode(message)
|
|
249
|
+
if len(decoded) != 32:
|
|
250
|
+
raise ValueError("Digest length must be 32 bytes after base64 decoding")
|
|
251
|
+
except (binascii.Error, TypeError):
|
|
252
|
+
raise ValueError("message must be base64 encoded")
|
|
253
|
+
|
|
254
|
+
# Validate signature length
|
|
255
|
+
try:
|
|
256
|
+
base64.b64decode(signature)
|
|
257
|
+
except (binascii.Error, TypeError):
|
|
258
|
+
raise ValueError("signature must be base64 encoded")
|
|
259
|
+
|
|
260
|
+
path = b'/'
|
|
261
|
+
params = {}
|
|
262
|
+
params['action'] = b'Verify'
|
|
263
|
+
body = {
|
|
264
|
+
'keyId': keyId,
|
|
265
|
+
'algorithm': algorithm,
|
|
266
|
+
'signature': signature,
|
|
267
|
+
'message': message,
|
|
268
|
+
'messageType': messageType
|
|
269
|
+
}
|
|
270
|
+
if keyVersion:
|
|
271
|
+
body['keyVersion'] = keyVersion
|
|
272
|
+
|
|
273
|
+
try:
|
|
274
|
+
base64.b64decode(message)
|
|
275
|
+
base64.b64decode(signature)
|
|
276
|
+
except (binascii.Error, TypeError):
|
|
277
|
+
raise ValueError("message and signature must be base64 encoded")
|
|
278
|
+
|
|
279
|
+
return self._send_request(http_methods.POST, path, json.dumps(body),
|
|
280
|
+
params=params, config=config)
|
|
281
|
+
|
|
166
282
|
@required(keyId=(str, bytes), keySpec=(str, bytes))
|
|
167
283
|
def generate_dataKey(self, keyId, keySpec, numberOfBytes=-1, config=None):
|
|
168
284
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/blb/user_service_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/endpoint/endpoint_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/etGateway/et_gateway_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/infinite/infinite_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ipv6gateway/ipv6gateway_client.py
RENAMED
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/ipv6gateway/ipv6gateway_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/baidubce/services/kms/publickeyencoding_class.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bce_python_sdk-0.9.45 → bce_python_sdk-0.9.46}/bce_python_sdk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|