@NotesIDFileSetCtxExpirationTD
Syntax
@NotesIDFileSetCtxExpirationTD(VSPECCERTIFIERCTXHANDLE1;TDEXPIRE2);
Description
With this @Funktion the certifier context handle VSPECCERTIFIERCTXHANDLE VSPECCERTIFIERCTXHANDLE1 an expiration date (TD TDEXPIRE2) for newly created Notes IDs.
All IDs subsequently created with this certifier context handle VSPECCERTIFIERCTXHANDLE VSPECCERTIFIERCTXHANDLE1 are assigned this validity expiration date.
Return value:
On success TRUE, otherwise @ERROR.
Example: @NotesIDFileSetCtxExpirationTD(VSPECCERTIFIERCTXHANDLE1;TDEXPIRE2);
RetECPW:=@NotesIDFileEncodePassword("PASSWORD");
ExpTD1:=[10.10.2005 10:10:10];
CertifierPath:="C:\\NOTES\\DATA\\CERT.ID";
RetCTXHandle:=@NotesIDFileOpenCertifierCtx(CertifierPath;RetECPW;"CERTLOG.NSF";RetExpTD1;RETTEXT5;RETNUMBERHIERAR6;RETNUMBERFILEV7);
RetBool:=@NotesIDFileSetCtxExpirationTD(RetCTXHandle;ExpTD1);
RetCTXHandle:=@NotesIDFileCloseCertifierCtx(RetCTXHandle);
The certifier Notes ID with the file path "C:\\NOTES\\DATA\\CERT.ID" and the password "PASSWORD" is opened.
The certifier context handle RetCTXHandle is assigned the expiration date [10.10.2005 10:10:10], for IDs subsequently created with this handle, is assigned.
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.
