C# Class Opc.Ua.Configuration.MainForm

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
MainForm ( ApplicationConfiguration configuration ) : System

Initializes the with the application configuration.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddCertificateToTrustListBTN_Click ( object sender, EventArgs e ) : void
ApplicationToManageCTRL_ApplicationChanged ( object sender, EventArgs e ) : void
AssignApplicationCertificateBTN_Click ( object sender, EventArgs e ) : void

Assigns a certificate to the application.

AssignTrustListBTN_Click ( object sender, EventArgs e ) : void

Assigns a certificate to the application.

BindSslCertificateBTN_Click ( object sender, EventArgs e ) : void
ClearRecentFileListsMI_Click ( object sender, EventArgs e ) : void
CreateApplicationCertificateBTN_Click ( object sender, EventArgs e ) : void

Creates a new self signed for a certificate.

CreateCertificateAuthorityBTN_Click ( object sender, EventArgs e ) : void
DeleteAllTrustedCertificatesBTN_Click ( object sender, EventArgs e ) : void
DeleteApplicationCertificate ( Opc application, X509Certificate2 certificate ) : void

Deletes the application certificate.

EditTrustListBTN_Click ( object sender, EventArgs e ) : void

Edits the trust list for the application.

ExportApplicationCertificateBTN_Click ( object sender, EventArgs e ) : void
ExportPrivateKeyBTN_Click ( object sender, EventArgs e ) : void
File_ExitMI_Click ( object sender, EventArgs e ) : void
GetDefaultStore ( ManagedApplication application, bool useApplicationCertificate ) : CertificateStoreIdentifier

Gets the default store.

HandleValidationError ( X509Certificate2 certificate, ServiceResultException e ) : bool

Handles a certificate validation error.

ImportAndIssueCertificateBTN_Click ( object sender, EventArgs e ) : void
ImportApplicationCertificateBTN_Click ( object sender, EventArgs e ) : void

Browses for a certificate to import.

ImportCertificateListToStoreBTN_Click ( object sender, EventArgs e ) : void
ImportCertificateListToTrustBTN_Click ( object sender, EventArgs e ) : void
ImportCertificateToStoreBTN_Click ( object sender, EventArgs e ) : void
ImportCertificateToTrustBTN_Click ( object sender, EventArgs e ) : void
ImportCertificateToTrustListBTN_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IssueSslCertificateBTN_Click ( object sender, EventArgs e ) : void
IssuerBrowseBTN_Click ( object sender, EventArgs e ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
ManageApplicationPermissionsBTN_Click ( object sender, EventArgs e ) : void

Manages the permissions for the application.

ManageApplicationSecurityCTRL_ApplicationChanged ( object sender, EventArgs e ) : void
ManageFirewallAccessBTN_Click ( object sender, EventArgs e ) : void
MergeTrustListBTN_Click ( object sender, EventArgs e ) : void
NewComServerBTN_Click ( object sender, EventArgs e ) : void
RegisterWithDiscoveryServerBTN_Click ( object sender, EventArgs e ) : void
ReplaceTrustListBTN_Click ( object sender, EventArgs e ) : void
SelectAndIssueCertificateBTN_Click ( object sender, EventArgs e ) : void
SelectCertificateToTrustBTN_Click ( object sender, EventArgs e ) : void
Servers_ComServersMI_Click ( object sender, EventArgs e ) : void
SetupTrustRelationship ( ManagedApplication application1, ManagedApplication application2 ) : bool

Setups the trust relationship between two applications.

TabsPN_SelectedIndexChanged ( object sender, EventArgs e ) : void
TrustAnotherApplicationBTN_Click ( object sender, EventArgs e ) : void
UpdateApplicationCertificate ( Opc application, CertificateStoreIdentifier store, X509Certificate2 certificate ) : void
ValidateAndImport ( CertificateStoreIdentifier store, X509Certificate2 certificate ) : void

Validates a certificate and adds it to the trust list.

ViewApplicationCertificateBTN_Click ( object sender, EventArgs e ) : void

Displays the application certificate.

ViewCertificatesBTN_Click ( object sender, EventArgs e ) : void
ViewTrustedCertificatesBTN_Click ( object sender, EventArgs e ) : void
WrapComServerBTN_Click ( object sender, EventArgs e ) : void
contentsToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MainForm() public method

Initializes the with the application configuration.
public MainForm ( ApplicationConfiguration configuration ) : System
configuration ApplicationConfiguration
return System