EncryptionData Class
- java.
lang. Object - com.
microsoft. azure. storage. core. EncryptionData
- com.
public class EncryptionData
RESERVED FOR INTERNAL USE. Represents the encryption data that is stored on the service.
Method Summary
Modifier and Type | Method and Description |
---|---|
void | consumeJsonObject(JsonParser parser) |
void | copyValues(EncryptionData data) |
Encryption |
deserialize(JsonParser parser) |
Encryption |
deserialize(String inputData) |
HashMap<String, String> | deserializeKeyWrappingMetadata(JsonParser parser) |
byte [] |
getContentEncryptionIV()
Gets the content encryption IV. |
Encryption |
getEncryptionAgent()
Gets the encryption agent that is used to identify the encryption protocol version and encryption algorithm. |
HashMap<String, String> |
getKeyWrappingMetadata()
Gets the metadata for encryption. |
Wrapped |
getWrappedContentKey()
Gets the wrapped key that is used to store the wrapping algorithm, key identifier and the encrypted key bytes. |
String | serialize() |
void | serialize(JsonGenerator generator) |
void |
setContentEncryptionIV(byte[] contentEncryptionIV)
Sets the content encryption IV. |
void |
setEncryptionAgent(EncryptionAgent encryptionAgent)
Sets the encryption agent that is used to identify the encryption protocol version and encryption algorithm. |
void |
setKeyWrappingMetadata(HashMap<String, String> keyWrappingMetadata)
Sets the metadata for encryption. |
void |
setWrappedContentKey(WrappedContentKey wrappedContentKey)
Sets the wrapped key that is used to store the wrapping algorithm, key identifier and the encrypted key bytes. |
Method Details
consumeJsonObject
public static void consumeJsonObject(JsonParser parser)
Parameters:
copyValues
public void copyValues(EncryptionData data)
Parameters:
deserialize
public static EncryptionData deserialize(JsonParser parser)
Parameters:
deserialize
public static EncryptionData deserialize(String inputData)
Parameters:
deserializeKeyWrappingMetadata
public static HashMap
Parameters:
getContentEncryptionIV
public byte [] getContentEncryptionIV()
Gets the content encryption IV.
Returns:
getEncryptionAgent
public EncryptionAgent getEncryptionAgent()
Gets the encryption agent that is used to identify the encryption protocol version and encryption algorithm.
Returns:
getKeyWrappingMetadata
public HashMap
Gets the metadata for encryption.
Returns:
getWrappedContentKey
public WrappedContentKey getWrappedContentKey()
Gets the wrapped key that is used to store the wrapping algorithm, key identifier and the encrypted key bytes.
Returns:
serialize
public String serialize()
serialize
public void serialize(JsonGenerator generator)
Parameters:
setContentEncryptionIV
public void setContentEncryptionIV(byte[] contentEncryptionIV)
Sets the content encryption IV.
Parameters:
setEncryptionAgent
public void setEncryptionAgent(EncryptionAgent encryptionAgent)
Sets the encryption agent that is used to identify the encryption protocol version and encryption algorithm.
Parameters:
setKeyWrappingMetadata
public void setKeyWrappingMetadata(HashMap
Sets the metadata for encryption.
Parameters:
setWrappedContentKey
public void setWrappedContentKey(WrappedContentKey wrappedContentKey)
Sets the wrapped key that is used to store the wrapping algorithm, key identifier and the encrypted key bytes.
Parameters: