C# Class Microsoft.CodeAnalysis.IL.Rules.SignSecurely

Inheritance: BinarySkimmerBase
Mostra file Open project: Microsoft/binskim

Public Methods

Method Description
Analyze ( BinaryAnalyzerContext context ) : void
CanAnalyze ( BinaryAnalyzerContext context, string &reasonForNotAnalyzing ) : AnalysisApplicability

Private Methods

Method Description
BuildIdToAlgorithmMap ( ) : string>.Dictionary
GetAlgorithmName ( string pszObjId ) : string
GetCertInfo ( IntPtr hWVTStateData, Native &certInfo, string &failedApiName ) : CryptoError
InitializeWinTrustDataStruct ( string filePath, WinTrustDataKind kind, uint signatureIndex ) : Native.WINTRUST_DATA
InvokeCloseAction ( Native winTrustData ) : void
InvokeVerifyAction ( BinaryAnalyzerContext context, string filePath, Native &winTrustData, string &algorithmNames ) : bool
RetrieveSignatureAlgorithmAndCertInfo ( BinaryAnalyzerContext context, Native winTrustData, Native &certInfo ) : string

Method Details

Analyze() public method

public Analyze ( BinaryAnalyzerContext context ) : void
context Microsoft.CodeAnalysis.IL.Sdk.BinaryAnalyzerContext
return void

CanAnalyze() public method

public CanAnalyze ( BinaryAnalyzerContext context, string &reasonForNotAnalyzing ) : AnalysisApplicability
context Microsoft.CodeAnalysis.IL.Sdk.BinaryAnalyzerContext
reasonForNotAnalyzing string
return AnalysisApplicability