'Declaration
Protected MustOverride Sub SetOwnCertificate( _ ByVal certificateSubId As String, _ ByVal pkiCertificate As IPkiCertificate, _ ByVal privateKeyFormat As String, _ ByVal formattedPrivateKey() As Byte, _ ByVal oldPrivateKeyPassword As String, _ ByVal newPrivateKeyPassword As String, _ ByVal updateTrustedPeerCertificates As Boolean, _ ByVal allowSubjectNameRemapping As Boolean _ )
'Usage
Dim instance As AbstractEasyUAClientServerApplication Dim certificateSubId As String Dim pkiCertificate As IPkiCertificate Dim privateKeyFormat As String Dim formattedPrivateKey() As Byte Dim oldPrivateKeyPassword As String Dim newPrivateKeyPassword As String Dim updateTrustedPeerCertificates As Boolean Dim allowSubjectNameRemapping As Boolean instance.SetOwnCertificate(certificateSubId, pkiCertificate, privateKeyFormat, formattedPrivateKey, oldPrivateKeyPassword, newPrivateKeyPassword, updateTrustedPeerCertificates, allowSubjectNameRemapping)
protected abstract void SetOwnCertificate( string certificateSubId, IPkiCertificate pkiCertificate, string privateKeyFormat, byte[] formattedPrivateKey, string oldPrivateKeyPassword, string newPrivateKeyPassword, bool updateTrustedPeerCertificates, bool allowSubjectNameRemapping )
protected: abstract void SetOwnCertificate( String^ certificateSubId, IPkiCertificate^ pkiCertificate, String^ privateKeyFormat, array<byte>^ formattedPrivateKey, String^ oldPrivateKeyPassword, String^ newPrivateKeyPassword, bool updateTrustedPeerCertificates, bool allowSubjectNameRemapping )
Parameters
- certificateSubId
- The sub-id of the certificate. Normally an empty string.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - pkiCertificate
- The application's own certificate.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - privateKeyFormat
- The format of the private key.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - formattedPrivateKey
- The private key of the application's own certificate.
The value of this parameter can be
null
(Nothing
in Visual Basic). - oldPrivateKeyPassword
- Password to the certificate's current private key.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - newPrivateKeyPassword
- New password to the certificate's private key.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - updateTrustedPeerCertificates
- Determines whether the trusted peers certificate store will also be updated.
- allowSubjectNameRemapping
- Determines whether the certificate is allowed to have a subject name that is different from the requested subject name.