Visual Basic (Declaration) | |
---|---|
Public Shared Function Derive( _ ByVal encryptedKey() As Byte, _ ByVal decryptor As IAsymmetricDecryptor, _ ByVal context() As Byte, _ Optional ByVal salt() As Byte _ ) As SymmetricProtector |
Visual Basic (Usage) | ![]() |
---|---|
Dim encryptedKey() As Byte Dim decryptor As IAsymmetricDecryptor Dim context() As Byte Dim salt() As Byte Dim value As SymmetricProtector value = SymmetricProtector.Derive(encryptedKey, decryptor, context, salt) |
C# | |
---|---|
public static SymmetricProtector Derive( byte[] encryptedKey, IAsymmetricDecryptor decryptor, byte[] context, byte[] salt ) |
C++/CLI | |
---|---|
public: static SymmetricProtector^ Derive( array<byte>^ encryptedKey, IAsymmetricDecryptor^ decryptor, array<byte>^ context, array<byte>^ salt ) |
Parameters
- encryptedKey
- decryptor
- context
- salt
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2