NativeMethods.NCryptVerifySignature, 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 NCryptVerifySignature ( _
hKey As SafeNCryptKeyHandle, _
ByRef pPaddingInfo As NativeMethods.BCRYPT_PKCS1_PADDING_INFO, _
pbHashValue As Byte(), _
cbHashValue As Integer, _
pbSignature As Byte(), _
cbSignature As Integer, _
dwFlags As Integer _
) As Integer
public static int NCryptVerifySignature(
SafeNCryptKeyHandle hKey,
ref NativeMethods.BCRYPT_PKCS1_PADDING_INFO pPaddingInfo,
byte[] pbHashValue,
int cbHashValue,
byte[] pbSignature,
int cbSignature,
int dwFlags
)
Paramètres
- hKey
Type : Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
- pPaddingInfo
Type : Microsoft.TeamFoundation.Common.Internal.NativeMethods.BCRYPT_PKCS1_PADDING_INFO%
- pbHashValue
Type : array<System.Byte[]
- cbHashValue
Type : System.Int32
- pbSignature
Type : array<System.Byte[]
- cbSignature
Type : System.Int32
- dwFlags
Type : System.Int32
Valeur de retour
Type : System.Int32