CpkInfo Class
- java.
lang. Object - com.
azure. storage. blob. models. CpkInfo
- com.
public final class CpkInfo
Parameter group.
Constructor Summary
Constructor | Description |
---|---|
CpkInfo() |
Creates an instance of Cpk |
Method Summary
Modifier and Type | Method and Description |
---|---|
Encryption |
getEncryptionAlgorithm()
Get the encryption |
String |
getEncryptionKey()
Get the encryption |
String |
getEncryptionKeySha256()
Get the encryption |
Cpk |
setEncryptionAlgorithm(EncryptionAlgorithmType encryptionAlgorithm)
Set the encryption |
Cpk |
setEncryptionKey(String encryptionKey)
Set the encryption |
Cpk |
setEncryptionKeySha256(String encryptionKeySha256)
Set the encryption |
Methods inherited from java.lang.Object
Constructor Details
CpkInfo
public CpkInfo()
Creates an instance of CpkInfo class.
Method Details
getEncryptionAlgorithm
public EncryptionAlgorithmType getEncryptionAlgorithm()
Get the encryptionAlgorithm property: The algorithm used to produce the encryption key hash. Currently, the only accepted value is "AES256". Must be provided if the x-ms-encryption-key header is provided.
Returns:
getEncryptionKey
public String getEncryptionKey()
Get the encryptionKey property: Optional. Specifies the encryption key to use to encrypt the data provided in the request. If not specified, encryption is performed with the root account encryption key. For more information, see Encryption at Rest for Azure Storage Services.
Returns:
getEncryptionKeySha256
public String getEncryptionKeySha256()
Get the encryptionKeySha256 property: The SHA-256 hash of the provided encryption key. Must be provided if the x-ms-encryption-key header is provided.
Returns:
setEncryptionAlgorithm
public CpkInfo setEncryptionAlgorithm(EncryptionAlgorithmType encryptionAlgorithm)
Set the encryptionAlgorithm property: The algorithm used to produce the encryption key hash. Currently, the only accepted value is "AES256". Must be provided if the x-ms-encryption-key header is provided.
Parameters:
Returns:
setEncryptionKey
public CpkInfo setEncryptionKey(String encryptionKey)
Set the encryptionKey property: Optional. Specifies the encryption key to use to encrypt the data provided in the request. If not specified, encryption is performed with the root account encryption key. For more information, see Encryption at Rest for Azure Storage Services.
Parameters:
Returns:
setEncryptionKeySha256
public CpkInfo setEncryptionKeySha256(String encryptionKeySha256)
Set the encryptionKeySha256 property: The SHA-256 hash of the provided encryption key. Must be provided if the x-ms-encryption-key header is provided.
Parameters:
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback을 참조하세요.
출시 예정: 2024년 내내 콘텐츠 피드백 메커니즘인 GitHub 문제를 단계적으로 폐지하고 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은다음에 대한 사용자 의견 제출 및 보기