Metodo NativeMethods.NCryptVerifySignature
Questo tipo dispone di un attributo SecurityCriticalAttribute, che ne determina una limitazione al solo utilizzo interno da parte di .NET Framework per la libreria di classi Silverlight. Se un membro qualsiasi di questo tipo viene utilizzato dal codice di un'applicazione, viene generata un'eccezione MethodAccessException.
Spazio dei nomi: Microsoft.TeamFoundation.Common.Internal
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- pPaddingInfo
Tipo: Microsoft.TeamFoundation.Common.Internal.NativeMethods.BCRYPT_PKCS1_PADDING_INFO%
- pbHashValue
Tipo: array<System.Byte[]
- cbHashValue
Tipo: System.Int32
- pbSignature
Tipo: array<System.Byte[]
- cbSignature
Tipo: System.Int32
- dwFlags
Tipo: System.Int32
Valore restituito
Tipo: System.Int32