CustomerProvidedKey Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. CustomerProvidedKey
- com.
public class CustomerProvidedKey
Contains the customer provided key information used to encrypt a file's content on the server.
Constructor Summary
Constructor | Description |
---|---|
CustomerProvidedKey(byte[] key) |
Creates a new wrapper for a client provided key. |
CustomerProvidedKey(String key) |
Creates a new wrapper for a client provided key. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Encryption |
getEncryptionAlgorithm()
Gets the algorithm to use this key with. |
String |
getKey()
Gets the encryption key. |
String |
getKeySha256()
Gets the encryption key's hash. |
Methods inherited from java.lang.Object
Constructor Details
CustomerProvidedKey
public CustomerProvidedKey(byte[] key)
Creates a new wrapper for a client provided key.
Parameters:
CustomerProvidedKey
public CustomerProvidedKey(String key)
Creates a new wrapper for a client provided key.
Parameters:
Method Details
getEncryptionAlgorithm
public EncryptionAlgorithmType getEncryptionAlgorithm()
Gets the algorithm to use this key with.
Returns:
getKey
public String getKey()
Gets the encryption key.
Returns:
getKeySha256
public String getKeySha256()
Gets the encryption key's hash.
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour