java.lang.Object
com.alibaba.dashscope.applications.agentstudio.utils.EncryptionConfig

public class EncryptionConfig extends Object
Encryption material for an encrypted AgentStudio request.
  • Constructor Details

  • Method Details

    • builder

      public static EncryptionConfig.EncryptionConfigBuilder<?,?> builder()
    • getPublicKeyId

      @NotNull public String getPublicKeyId()
    • getBase64PublicKey

      @NotNull public String getBase64PublicKey()
    • getAESEncryptKey

      @NotNull public SecretKey getAESEncryptKey()
    • getIv

      public byte[] getIv()
      default iv.
    • setPublicKeyId

      public void setPublicKeyId(@NotNull String publicKeyId)
    • setBase64PublicKey

      public void setBase64PublicKey(@NotNull String base64PublicKey)
    • setAESEncryptKey

      public void setAESEncryptKey(@NotNull SecretKey AESEncryptKey)
    • setIv

      public void setIv(byte[] iv)
      default iv.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object