odps-sdk/odps-sdk-core/src/main/java/com/aliyun/odps/account/AppStsRequestSigner.java [75:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public String getEncodedAliyunSignature(String strToSign) {
    if (StringUtils.isNullOrEmpty(strToSign)) {
      throw new RuntimeException("String to sign cannot be empty or null.");
    }

    byte[] crypto;
    crypto = SecurityUtils.hmacsha1Signature(
        strToSign.getBytes(StandardCharsets.UTF_8),
        ((AliyunAccount) account).getAccessKey().getBytes());

    return Base64.encodeBase64String(crypto).trim();
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



odps-sdk/odps-sdk-core/src/main/java/com/aliyun/odps/account/AppRequestSigner.java [64:75]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public String getAliyunSignature(String strToSign) {
        if (StringUtils.isNullOrEmpty(strToSign)) {
            throw new RuntimeException("String to sign cannot be empty or null.");
        }

        byte[] crypto;
        crypto = SecurityUtils.hmacsha1Signature(
            strToSign.getBytes(StandardCharsets.UTF_8),
            ((AliyunAccount) account).getAccessKey().getBytes());

        return Base64.encodeBase64String(crypto).trim();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



