C# Class NIST.DMC.STEPTRACE4PLOT

Inheritance: STEP4PLOT
Datei anzeigen Open project: usnistgov/DT4SM Class Usage Examples

Public Methods

Method Description
EncodeAndSign ( X509Certificate2 certificate, string filePath ) : void
EncodeAndSign ( X509Certificate2 certificate, string filePath, int block ) : void
EncodeCMS ( X509Certificate2 certificate, string filePath ) : object
EncodeCMS ( X509Certificate2 certificate, string filePath, int block ) : object
ExtractAllSignatures ( string filePath ) : string>.Dictionary
GetBlocks ( ) : STEPInterface.Elements
STEPTRACE4PLOT ( string block ) : System
SignFile ( string filePath, object digitalSignature ) : void
SignFile ( string filePath, object digitalSignature, int block ) : void
VerifyFile ( string filePath, bool>.List &verifiedCMS ) : bool

Private Methods

Method Description
ExtractBlocks ( string filePath ) : string

Method Details

EncodeAndSign() public method

public EncodeAndSign ( X509Certificate2 certificate, string filePath ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
filePath string
return void

EncodeAndSign() public method

public EncodeAndSign ( X509Certificate2 certificate, string filePath, int block ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
filePath string
block int
return void

EncodeCMS() public method

public EncodeCMS ( X509Certificate2 certificate, string filePath ) : object
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
filePath string
return object

EncodeCMS() public method

public EncodeCMS ( X509Certificate2 certificate, string filePath, int block ) : object
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
filePath string
block int
return object

ExtractAllSignatures() public method

public ExtractAllSignatures ( string filePath ) : string>.Dictionary
filePath string
return string>.Dictionary

GetBlocks() public method

public GetBlocks ( ) : STEPInterface.Elements
return STEPInterface.Elements

STEPTRACE4PLOT() public method

public STEPTRACE4PLOT ( string block ) : System
block string
return System

SignFile() public method

public SignFile ( string filePath, object digitalSignature ) : void
filePath string
digitalSignature object
return void

SignFile() public method

public SignFile ( string filePath, object digitalSignature, int block ) : void
filePath string
digitalSignature object
block int
return void

VerifyFile() public method

public VerifyFile ( string filePath, bool>.List &verifiedCMS ) : bool
filePath string
verifiedCMS bool>.List
return bool