Package com.alibaba.dashscope.transport
Class EncryptionKeys
java.lang.Object
com.alibaba.dashscope.transport.EncryptionKeys
Fetches the server's latest encryption public key (J7):
GET /public-keys/latest →
{request_id, data:{public_key, public_key_id}}, then bundles it with fresh AES material into an
EncryptionConfig.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConfig(RequestOptions options) Fetch the latest public key and build a freshEncryptionConfig.
-
Constructor Details
-
EncryptionKeys
-
-
Method Details
-
createConfig
Fetch the latest public key and build a freshEncryptionConfig.
-