getSignedCertificateFromServer( username, serverPassword, certPassword ) method

Certificate

Syntax

getSignedCertificateFromServer( username, serverPassword, certPassword )

Parameters

Name Type Description
username String The username for the Windows user (in the form "DOMAIN\\username")
serverPassword String The password for the Windows user
certPassword String The password needed to access the certificate (may be the same or different from the Windows password)

Example

// The following script gets the signed certificate data for the
// user MYDOMAIN\\MYUSERNAME from the server
var certStore = CertificateStore.getDefault();
cert = certStore.getSignedCertificateFromServer("MYDOMAIN\\\\MYUSERNAME", "myserverpassword", "mycertpassword");

Source

Certificate.js, line 325.