All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.dashscope.utils.EncryptionConfig Maven / Gradle / Ivy

The newest version!
package com.alibaba.dashscope.utils;

import javax.crypto.SecretKey;
import lombok.Builder.Default;
import lombok.Data;
import lombok.experimental.SuperBuilder;
import org.jetbrains.annotations.NotNull;

@Data
@SuperBuilder
public class EncryptionConfig {
  @NotNull private String publicKeyId;
  @NotNull private String base64PublicKey;
  @NotNull private SecretKey AESEncryptKey;
  /** default iv. */
  @Default private byte[] iv = "000000000000".getBytes();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy