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

com.aliyun.dc.opplat.sdk.api.internal.util.SignSourceData Maven / Gradle / Ivy

Go to download

Aliyun Open API SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

The newest version!
/**
 * Alipay.com Inc. Copyright (c) 2004-2020 All Rights Reserved.
 */
package com.aliyun.dc.opplat.sdk.api.internal.util;

/**
 * 从响应字符串中提取到的待验签原始内容
 * @author changlei.qcl
 * @version $Id: SignSourceData.java, v 0.1 2020年07月28日 9:40 PM changlei.qcl Exp $
 */
public class SignSourceData {

    /**
     * 待验签原始内容
     */
    private final String sourceData;
    /**
     * 待验签原始内容在响应字符串中的起始位置
     */
    private final int    beginIndex;
    /**
     * 待验签原始内容在响应字符串中的结束位置
     */
    private final int    endIndex;

    public SignSourceData(String sourceData, int beginIndex, int endIndex) {
        this.sourceData = sourceData;
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
    }

    public String getSourceData() {
        return sourceData;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy