XdsObjects Help file
MedicalConnections.Security Namespace / TlsBouncyCastle Class / SetCertificateFromByteArray Method
The public key
The private key
The password for the private key



In This Topic
    SetCertificateFromByteArray Method
    In This Topic
    Load the local certificate from arrays containg the public and private keys, plus a password
    Syntax
    Public Sub SetCertificateFromByteArray( _
       ByVal ClientCertificateAsArray() As Byte, _
       ByVal ClientPrivateKeyAsArray() As Byte, _
       ByVal Password As String _
    ) 
    Dim instance As TlsBouncyCastle
    Dim ClientCertificateAsArray() As Byte
    Dim ClientPrivateKeyAsArray() As Byte
    Dim Password As String
     
    instance.SetCertificateFromByteArray(ClientCertificateAsArray, ClientPrivateKeyAsArray, Password)
    public void SetCertificateFromByteArray( 
       byte[] ClientCertificateAsArray,
       byte[] ClientPrivateKeyAsArray,
       string Password
    )

    Parameters

    ClientCertificateAsArray
    The public key
    ClientPrivateKeyAsArray
    The private key
    Password
    The password for the private key
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also