'Declaration
Public MustOverride Function ProtectOrUnprotectOwnCertificate( _ ByVal certificateSubId As String, _ ByVal newPrivateKeyPassword As String _ ) As Boolean
'Usage
Dim instance As AbstractEasyUAClientServerApplication Dim certificateSubId As String Dim newPrivateKeyPassword As String Dim value As Boolean value = instance.ProtectOrUnprotectOwnCertificate(certificateSubId, newPrivateKeyPassword)
public abstract bool ProtectOrUnprotectOwnCertificate( string certificateSubId, string newPrivateKeyPassword )
public: abstract bool ProtectOrUnprotectOwnCertificate( String^ certificateSubId, String^ newPrivateKeyPassword )
Parameters
- certificateSubId
- The sub-id of the certificate. Normally an empty string.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - newPrivateKeyPassword
- Empty string to unprotected the certificate, or a non-empty password to use for protection of the certificate's private key.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
true
when the resulting state of the certificate is protected. Returns false
otherwise.