Ai
1 Star 0 Fork 0

finder/aliyun-oss-go-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
crypto_const.go 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
finder 提交于 2020-06-23 13:36 +08:00 . U
package osscrypto
// for client sider encryption oss meta
const (
OssClientSideEncryptionKey string = "client-side-encryption-key"
OssClientSideEncryptionStart = "client-side-encryption-start"
OssClientSideEncryptionCekAlg = "client-side-encryption-cek-alg"
OssClientSideEncryptionWrapAlg = "client-side-encryption-wrap-alg"
OssClientSideEncryptionMatDesc = "client-side-encryption-matdesc"
OssClientSideEncryptionUnencryptedContentLength = "client-side-encryption-unencrypted-content-length"
OssClientSideEncryptionUnencryptedContentMD5 = "client-side-encryption-unencrypted-content-md5"
OssClientSideEncryptionDataSize = "client-side-encryption-data-size"
OssClientSideEncryptionPartSize = "client-side-encryption-part-size"
)
// encryption Algorithm
const (
RsaCryptoWrap string = "RSA/NONE/PKCS1Padding"
KmsAliCryptoWrap string = "KMS/ALICLOUD"
AesCtrAlgorithm string = "AES/CTR/NoPadding"
)
// user agent tag for client encryption
const (
EncryptionUaSuffix string = "OssEncryptionClient"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ifinder/aliyun-oss-go-sdk.git
git@gitee.com:ifinder/aliyun-oss-go-sdk.git
ifinder
aliyun-oss-go-sdk
aliyun-oss-go-sdk
3ea99cda0f57

搜索帮助