CertCreate (FUN) ¶ FUNCTION CertCreate : RTS_IEC_RESULT It creates a new self signed certificate InOut: Scope Name Type Comment Return CertCreate RTS_IEC_RESULT Input hCert RTS_IEC_HANDLE Actual certificate handle Output hCertNew RTS_IEC_HANDLE New certificate handle bThumb ARRAY [0..(GVL_CONSTANT.THUMB_SIZE - 1)] OF BYTE Certificate thumbprint rtsCryptoID CmpX509Cert.CmpX509Cert_Implementation.RtsCryptoID The hashing algorithmen used to generate the thumbprint.
CertRemove (FUN) ¶ FUNCTION CertRemove : RTS_IEC_RESULT It removes a certificate InOut: Scope Name Type Comment Return CertRemove RTS_IEC_RESULT Input hCert RTS_IEC_HANDLE certificate to remove
CheckThumbString (FUN) ¶ FUNCTION CheckThumbString : BOOL It checks the thumbprint string for correct value InOut: Scope Name Type Comment Return CheckThumbString BOOL Input psThumb POINTER TO STRING String to check
ConvThumbToBytes (FUN) ¶ FUNCTION ConvThumbToBytes : BOOL It converts the thumbprint from string to an arry of byte InOut: Scope Name Type Comment Return ConvThumbToBytes BOOL Input psThumb POINTER TO STRING String to convert pbyThumb POINTER TO BYTE Where to write the data iSz INT Size of above buffer
ConvThumbToString (FUN) ¶ FUNCTION ConvThumbToString : STRING It converts the thumbprint from array of byte to string InOut: Scope Name Type Comment Return ConvThumbToString STRING Input pbyThumb POINTER TO BYTE Array to convert
EnumUnitTest (ENUM) ¶ TYPE EnumUnitTest : Attributes: qualified_only InOut: Name Initial no 0 dry wet
GetCertHandle (FUN) ¶ FUNCTION GetCertHandle : RTS_IEC_HANDLE It returns the certificate handle starting from thumb InOut: Scope Name Type Return GetCertHandle RTS_IEC_HANDLE Input psCertThumb POINTER TO STRING
GetCertRenewTime (FUN) ¶ FUNCTION GetCertRenewTime : ULINT Get the expiration time, based on the 10% of the range InOut: Scope Name Type Return GetCertRenewTime ULINT Input hCert RTS_IEC_HANDLE Output dtNotAfter DT dtNotBefore DT
GetCurrentUtcOffset (FUN) ¶ FUNCTION GetCurrentUtcOffset : INT Determines the offset of the current time to the utc time InOut: Scope Name Type Return GetCurrentUtcOffset INT
Verifier.CertNotAfter (PROP) ¶ PROPERTY CertNotAfter : DATE_AND_TIME