Class EncryptionConfig
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.utils.EncryptionConfig
Encryption material for an encrypted AgentStudio request.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEncryptionConfig.EncryptionConfigBuilder<C extends EncryptionConfig,B extends EncryptionConfig.EncryptionConfigBuilder<C, B>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionConfig.EncryptionConfigBuilder<?,?> builder()protected booleanbooleanbyte[]getIv()default iv.inthashCode()voidsetAESEncryptKey(SecretKey AESEncryptKey) voidsetBase64PublicKey(String base64PublicKey) voidsetIv(byte[] iv) default iv.voidsetPublicKeyId(String publicKeyId) toString()
-
Constructor Details
-
EncryptionConfig
-
-
Method Details
-
builder
-
getPublicKeyId
-
getBase64PublicKey
-
getAESEncryptKey
-
getIv
public byte[] getIv()default iv. -
setPublicKeyId
-
setBase64PublicKey
-
setAESEncryptKey
-
setIv
public void setIv(byte[] iv) default iv. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-