BlobClientSideEncryptionOptions Class
- java.
lang. Object - com.
azure. storage. blob. specialized. cryptography. BlobClientSideEncryptionOptions
- com.
public class BlobClientSideEncryptionOptions
This class contains the configuration options used to encrypt the blob content on the client side.
Constructor Summary
Constructor | Description | |
---|---|---|
BlobClientSideEncryptionOptions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getAuthenticatedRegionDataLengthInBytes()
Gets the length of the authenticated region data. |
Blob |
setAuthenticatedRegionDataLengthInBytes(long authenticatedRegionDataLength)
Sets the authenticated region length to use when encrypting blobs. |
Methods inherited from java.lang.Object
Constructor Details
BlobClientSideEncryptionOptions
public BlobClientSideEncryptionOptions()
Method Details
getAuthenticatedRegionDataLengthInBytes
public long getAuthenticatedRegionDataLengthInBytes()
Gets the length of the authenticated region data.
Returns:
the length of the authenticated region data.
setAuthenticatedRegionDataLengthInBytes
public BlobClientSideEncryptionOptions setAuthenticatedRegionDataLengthInBytes(long authenticatedRegionDataLength)
Sets the authenticated region length to use when encrypting blobs.
Parameters:
authenticatedRegionDataLength
- authenticatedRegionDataLength The authenticated region length in bytes to
use when encrypting the blob. This value only is used when uploading blobs. Downloads use the authenticated
region data length from the blob encryption metadata when decrypting blobs. Minimum value for the length is 16
bytes, and maximum is 1GB.
Returns:
the updated BlobEncryptionOptions object.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java