C# Class GSF.TimeSeries.Transport.UI.UserControls.SelfSignedCertificateGenerator

Interaction logic for SelfSignedCertificateGenerator.xaml
Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: GridProtectionAlliance/gsf

Public Properties

Property Type Description
CertificateFileProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
CommonNameProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
CanGenerate bool
GenerateCertificate void
OnProcessException void
TryMakeCertificate bool

Public Methods

Method Description
MakeCertificate ( string commonName, string certificateFile ) : void

Creates a certificate with the given common name at the given path.

SelfSignedCertificateGenerator ( ) : System

Creates a new instance of the SelfSignedCertificateGenerator class.

Private Methods

Method Description
CanGenerate ( ) : bool
GenerateCertificate ( ) : void
OnProcessException ( Exception ex ) : void
TryMakeCertificate ( ) : bool

Method Details

MakeCertificate() public method

Creates a certificate with the given common name at the given path.
public MakeCertificate ( string commonName, string certificateFile ) : void
commonName string The common name stored in the certificate.
certificateFile string The path to the certificate.
return void

SelfSignedCertificateGenerator() public method

Creates a new instance of the SelfSignedCertificateGenerator class.
public SelfSignedCertificateGenerator ( ) : System
return System

Property Details

CertificateFileProperty public_oe static_oe property

Dependency property for the CertificateFile property.
public static DependencyProperty,System.Windows CertificateFileProperty
return System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

Dependency property for the Command property.
public static DependencyProperty,System.Windows CommandProperty
return System.Windows.DependencyProperty

CommonNameProperty public_oe static_oe property

Dependency property for the CommonName property.
public static DependencyProperty,System.Windows CommonNameProperty
return System.Windows.DependencyProperty