TlsCertification (FB)
FUNCTION_BLOCK TlsCertification IMPLEMENTS ITlsCertification
This function block is required for TLS certification
By defining the constant inputs, a customized certification entry can be registered to the security screen.
This routine is called after the initialization.
If a customized certificate shall be used, a handle to the certification must be overhand to the property TlsCertification.CertificationHandle.
This certification is then used for TLS communication when the TlsCertification assigned as input.
Hint
To create a TCP server with TLS socket, a certificate is mandatory
- InOut:
Scope
Name
Type
Initial
Comment
Input Const
CertNameSTRING‘TcpServerCertification’
Name of Certification
UseCaseSTRING‘Tcp Server’
Name of the usecase which is displayed in the security screen
OidSTRINGRTS_OID_TLS_WEBSERVER_AUTHENTICATION
Object identifier of the certificate to be registered
Properties:
CertificationHandle
Structure: