CustomerProvidedKey Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Wrapper for an encryption key to be used with client provided key server-side encryption.
public readonly struct CustomerProvidedKey : IEquatable<Azure.Storage.Blobs.Models.CustomerProvidedKey>
type CustomerProvidedKey = struct
Public Structure CustomerProvidedKey
Implements IEquatable(Of CustomerProvidedKey)
- Inheritance
-
CustomerProvidedKey
- Implements
Constructors
CustomerProvidedKey(Byte[]) |
Creates a new CustomerProvidedKey for use in server-side encryption. |
CustomerProvidedKey(String) |
Creates a new CustomerProvidedKey for use in server-side encryption. |
Properties
EncryptionAlgorithm |
The algorithm for Azure Blob Storage to encrypt with. Azure Blob Storage only offers AES256 encryption. |
EncryptionKey |
Base64 encoded string of the AES256 encryption key. |
EncryptionKeyHash |
Base64 encoded string of the AES256 encryption key's SHA256 hash. |
Methods
Equals(CustomerProvidedKey) |
Checks if two CustomerProvidedKeyInfo are equal to each other. |
Equals(Object) |
Checks if two CustomerProvidedKeyInfo are equal to each other. |
GetHashCode() |
Get a hash code for the CustomerProvidedKeyInfo. |
ToString() |
ToString |
Operators
Equality(CustomerProvidedKey, CustomerProvidedKey) |
Check if two CustomerProvidedKeyInfo instances are equal. |
Inequality(CustomerProvidedKey, CustomerProvidedKey) |
Check if two CustomerProvidedKeyInfo instances are not equal. |
Applies to
Azure SDK for .NET