NativeMethods.NCryptDecrypt, méthode
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function NCryptDecrypt ( _
hKey As SafeNCryptKeyHandle, _
pbInput As Byte(), _
cbInput As Integer, _
ByRef pPaddingInfo As NativeMethods.BCRYPT_OAEP_PADDING_INFO, _
<OutAttribute> pbOutput As Byte(), _
cbOutput As Integer, _
<OutAttribute> ByRef pcbResult As Integer, _
dwFlags As Integer _
) As Integer
public static int NCryptDecrypt(
SafeNCryptKeyHandle hKey,
byte[] pbInput,
int cbInput,
ref NativeMethods.BCRYPT_OAEP_PADDING_INFO pPaddingInfo,
byte[] pbOutput,
int cbOutput,
out int pcbResult,
int dwFlags
)
Paramètres
- hKey
Type : Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
- pbInput
Type : array<System.Byte[]
- cbInput
Type : System.Int32
- pPaddingInfo
Type : Microsoft.TeamFoundation.Common.Internal.NativeMethods.BCRYPT_OAEP_PADDING_INFO%
- pbOutput
Type : array<System.Byte[]
- cbOutput
Type : System.Int32
- pcbResult
Type : System.Int32%
- dwFlags
Type : System.Int32
Valeur de retour
Type : System.Int32