public class MultipartUploadCryptoContext
extends java.lang.Object
限定符 | 构造器和说明 |
---|---|
protected |
MultipartUploadCryptoContext(java.lang.String bucketName,
java.lang.String key,
com.tencent.cos.xml.crypto.ContentCryptoMaterial cekMaterial) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBucketName() |
com.tencent.cos.xml.crypto.CipherLite |
getCipherLite()
Convenient method to return the content encrypting cipher lite (which is stateful) for the
multi-part uploads.
|
java.lang.String |
getKey() |
java.util.Map<java.lang.String,java.lang.String> |
getMaterialsDescription() |
boolean |
hasFinalPartBeenSeen() |
void |
setHasFinalPartBeenSeen(boolean hasFinalPartBeenSeen) |
void |
setMaterialsDescription(java.util.Map<java.lang.String,java.lang.String> materialsDescription) |
protected MultipartUploadCryptoContext(java.lang.String bucketName, java.lang.String key, com.tencent.cos.xml.crypto.ContentCryptoMaterial cekMaterial)
public final java.lang.String getBucketName()
public final java.lang.String getKey()
public final boolean hasFinalPartBeenSeen()
public final void setHasFinalPartBeenSeen(boolean hasFinalPartBeenSeen)
public final java.util.Map<java.lang.String,java.lang.String> getMaterialsDescription()
public final void setMaterialsDescription(java.util.Map<java.lang.String,java.lang.String> materialsDescription)
materialsDescription
- the materialsDescription to setpublic com.tencent.cos.xml.crypto.CipherLite getCipherLite()