SymmetricKeyWrapProvider.UnwrapKey(Byte[]) Method
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.
Unwraps a key using symmetric decryption.
public override byte[] UnwrapKey (byte[] keyBytes);
override this.UnwrapKey : byte[] -> byte[]
Public Overrides Function UnwrapKey (keyBytes As Byte()) As Byte()
Parameters
- keyBytes
- Byte[]
The bytes to unwrap.
Returns
The unwrapped key.
Exceptions
Thrown if keyBytes
is null or has a length of 0.
Thrown if keyBytes
is not a multiple of 8.
Thrown if Dispose(Boolean) has been called.
Thrown if the key unwrapping operation fails.
Applies to
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