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

com.tencentcloudapi.faceid.v20180301.models.Encryption Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.faceid.v20180301.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class Encryption extends AbstractModel{

    /**
    * 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅数据加密 文档。
    */
    @SerializedName("CiphertextBlob")
    @Expose
    private String CiphertextBlob;

    /**
    * 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
    */
    @SerializedName("EncryptList")
    @Expose
    private String [] EncryptList;

    /**
    * 有加密需求的用户,传入CBC加密的初始向量
    */
    @SerializedName("Iv")
    @Expose
    private String Iv;

    /**
     * Get 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅数据加密 文档。 
     * @return CiphertextBlob 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅数据加密 文档。
     */
    public String getCiphertextBlob() {
        return this.CiphertextBlob;
    }

    /**
     * Set 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅数据加密 文档。
     * @param CiphertextBlob 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅数据加密 文档。
     */
    public void setCiphertextBlob(String CiphertextBlob) {
        this.CiphertextBlob = CiphertextBlob;
    }

    /**
     * Get 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段 
     * @return EncryptList 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
     */
    public String [] getEncryptList() {
        return this.EncryptList;
    }

    /**
     * Set 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
     * @param EncryptList 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
     */
    public void setEncryptList(String [] EncryptList) {
        this.EncryptList = EncryptList;
    }

    /**
     * Get 有加密需求的用户,传入CBC加密的初始向量 
     * @return Iv 有加密需求的用户,传入CBC加密的初始向量
     */
    public String getIv() {
        return this.Iv;
    }

    /**
     * Set 有加密需求的用户,传入CBC加密的初始向量
     * @param Iv 有加密需求的用户,传入CBC加密的初始向量
     */
    public void setIv(String Iv) {
        this.Iv = Iv;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "CiphertextBlob", this.CiphertextBlob);
        this.setParamArraySimple(map, prefix + "EncryptList.", this.EncryptList);
        this.setParamSimple(map, prefix + "Iv", this.Iv);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy