package tech.easyflow.auth.entity;

/**
 * 前端公钥固定值平滑交接材料。
 */
public class CredentialKeyTransitionVO {

    /**
     * 旧密钥标识。
     */
    private String fromKeyId;

    /**
     * 新密钥标识。
     */
    private String toKeyId;

    /**
     * Base64URL canonical payload。
     */
    private String payload;

    /**
     * 旧私钥对 payload 的签名。
     */
    private String signature;

    public String getFromKeyId() {
        return fromKeyId;
    }

    public void setFromKeyId(String fromKeyId) {
        this.fromKeyId = fromKeyId;
    }

    public String getToKeyId() {
        return toKeyId;
    }

    public void setToKeyId(String toKeyId) {
        this.toKeyId = toKeyId;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }
}
