.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaBase.CreateCertificateSettings Class Reference

The settings used when creating certificates. More...

Properties

string CommonName [get, set]
 Gets or sets the common name. More...
 
string SubjectName [get, set]
 Gets or sets the subject name. More...
 
string ApplicationUri [get, set]
 Gets or sets the application URI. More...
 
IList< string > DomainNames [get, set]
 Gets or sets the domain names. More...
 
DateTime StartTime [get, set]
 Gets or sets the start time in UTC time. More...
 
ushort LifetimeInMonths [get, set]
 Gets or sets the lifetime in months. More...
 
ushort HashSizeInBits [get, set]
 Gets or sets the hash size in bits. More...
 
ushort KeySize [get, set]
 Gets or sets the size of the key in bits (a multiple of 1024). More...
 
bool IsCA [get, set]
 Gets or sets a value indicating whether a CA certificate should be created. More...
 
bool UsePEMFormat [get, set]
 Gets or sets a value indicating whether a CA certificate should be created. More...
 
string PrivateKeyFormat [get, set]
 Gets or sets the private key format. More...
 
string PrivateKeyPassword [get, set]
 Gets or sets the private key password. More...
 
string IssuerKeyFilePath [get, set]
 Gets or sets the issuer key file path. More...
 
string IssuerKeyFilePassword [get, set]
 Gets or sets the private key password. More...
 
CertificateKeyPair Issuer [get, set]
 Gets or sets the issuer to use when creating the certificate. More...
 

Detailed Description

The settings used when creating certificates.

Property Documentation

string UnifiedAutomation.UaBase.CreateCertificateSettings.ApplicationUri
getset

Gets or sets the application URI.

The application URI.

string UnifiedAutomation.UaBase.CreateCertificateSettings.CommonName
getset

Gets or sets the common name.

The common name.

IList<string> UnifiedAutomation.UaBase.CreateCertificateSettings.DomainNames
getset

Gets or sets the domain names.

The domain names.

ushort UnifiedAutomation.UaBase.CreateCertificateSettings.HashSizeInBits
getset

Gets or sets the hash size in bits.

The hash size in bits.

bool UnifiedAutomation.UaBase.CreateCertificateSettings.IsCA
getset

Gets or sets a value indicating whether a CA certificate should be created.

true a CA certificate should be created otherwise, false.

CertificateKeyPair UnifiedAutomation.UaBase.CreateCertificateSettings.Issuer
getset

Gets or sets the issuer to use when creating the certificate.

The issuer to use when creating the certificate.

string UnifiedAutomation.UaBase.CreateCertificateSettings.IssuerKeyFilePassword
getset

Gets or sets the private key password.

The private key password.

string UnifiedAutomation.UaBase.CreateCertificateSettings.IssuerKeyFilePath
getset

Gets or sets the issuer key file path.

The private key format.

ushort UnifiedAutomation.UaBase.CreateCertificateSettings.KeySize
getset

Gets or sets the size of the key in bits (a multiple of 1024).

The size of the key in bits.

ushort UnifiedAutomation.UaBase.CreateCertificateSettings.LifetimeInMonths
getset

Gets or sets the lifetime in months.

The lifetime in months.

string UnifiedAutomation.UaBase.CreateCertificateSettings.PrivateKeyFormat
getset

Gets or sets the private key format.

The SDK supports creating certificates with private key formats other than PFX, e.g. PEM. However only certificate with private keys in PFX format can be loaded by the SDK automatically.

If you want to create a certificate that shall be used by this application, you should not set this property.

string UnifiedAutomation.UaBase.CreateCertificateSettings.PrivateKeyPassword
getset

Gets or sets the private key password.

A password cannot be stored in the configuration of the ApplicationCertificate. To use the certificate you have to remove the ApplicationCertificate section from the configuration and load the certificate manually:

Use DirectoryCertificateStore.Find to assign the certificate to ApplicationInstance.ApplicationCertificate.

DateTime UnifiedAutomation.UaBase.CreateCertificateSettings.StartTime
getset

Gets or sets the start time in UTC time.

The start time.

string UnifiedAutomation.UaBase.CreateCertificateSettings.SubjectName
getset

Gets or sets the subject name.

The subject name.

bool UnifiedAutomation.UaBase.CreateCertificateSettings.UsePEMFormat
getset

Gets or sets a value indicating whether a CA certificate should be created.

true a CA certificate should be created otherwise, false.


The documentation for this class was generated from the following file: