@NotesIDFileReCertifyID
Syntax
@NotesIDFileReCertifyID(VSPECCERTIFIERCTXHANDLE1;TEXTSERVERNAME2;ORGUNIT3;OSPATH4;TDVALID5;RETOSPATH6);
Description
This @Funktion recertifies the Notes ID with the OSPATH OSPATH4 of the certifier Notes ID that is assigned to the certifier context handle VSPECCERTIFIERCTXHANDLE VSPECCERTIFIERCTXHANDLE1 has been assigned (see @NotesIDFileOpenCertifierCtx).
In TEXT TEXTSERVERNAME2 the name of the registration server is specified (for the local server, a NULLSTRING ("") be specified).
In TEXT ORGUNIT3 the organization unit can be specified. This is in addition to the information assigned to the certifier context handle VSPECCERTIFIERCTXHANDLE VSPECCERTIFIERCTXHANDLE1 has been assigned. (If not desired, a NULLSTRING ("") be specified.)
In TD TDVALID5 the expiration date must for the validity of the certification be specified.
In OSPATH RETOSPATH6 the name of the file for which an error occurred is returned. (Only in the @ERROR Fall)
Return value:
On success TRUE is returned; otherwise @ERROR.
Example: @NotesIDFileReCertifyID(VSPECCERTIFIERCTXHANDLE1;TEXTSERVERNAME2;ORGUNIT3;OSPATH4;TDVALID5;RETOSPATH6);
RetECPW:=@NotesIDFileEncodePassword("PASSWORD");
ExpTD1:=[10.10.2010 10:10:10];
CertifierPath:="C:\\NOTES\\DATA\\CERT.ID";
RetCTXHandle:=@NotesIDFileOpenCertifierCtx(CertifierPath;RetECPW;"CERTLOG.NSF";RetExpTD1;RETTEXT5;RETNUMBERHIERAR6;RETNUMBERFILEV7);
Ret:=@NotesIDFileReCertifyID(RetCTXHandle;"";"TestOrg";"C:\\NOTES\\DATA\\USERX.ID";ExpTD1;RETOSPATH6);
RetCTXHandle:=@NotesIDFileCloseCertifierCtx(RetCTXHandle);
The certifier Notes ID with the file path "C:\\NOTES\\DATA\\CERT.ID" and the password "PASSWORD" is opened.
The Notes ID "C:\\NOTES\\DATA\\USERX.ID" is called with the certifier context handle RetCTXHandle recertifies.
The organization unit "TestOrg" is used. The registration server is the local server ("").
On [10.10.2010 10:10:10] the certificate will expire.
The certifier context handle RetCTXHandle is then closed again.
In the database "CERTLOG.NSF" the certification operations are logged.
Note : This text was machine-translated and may contain inaccuracies.
