GetVerifyResult
This method provides a detailed result of the verification of the authentication data. The internal standard verification takes place on the server when the associate request data is received (AARQ telegram) and on the client when the associate response data is received (AARE telegram). With the GetVerifyResult return parameter value TRUE, the IEC 61850 server or client application may check or change the authentication status itself at a certain point in time, but only if authentication (authentication-functional-unit) has been activated in the communication requests of both communication partners.
A connection that is expected to be accepted by the server can be subsequently rejected using the Reject method. A connection that is likely to be rejected by the server can be subsequently accepted using the Accept method. In a server application, the methods: Accept or Reject may only be called within the implementation of the OnAssociateInd event handling routine. Only at this point can the application still control the authentication process itself.
In mutual authentication mode, a client application can also check the authentication status itself at a specific time. A connection that is expected to be accepted by the client can be rejected using the Reject method. A connection that is likely to be rejected by the client can be subsequently accepted using the Accept method. In a client application, the Accept or Reject methods may only be called within the implementation of the OnAssociateCnf event handling routine. A connection that has already been rejected by the server cannot be subsequently accepted by the client.
METHOD GetVerifyResult : BOOL
VAR_OUTPUT
bAccepted : BOOL;
eType : E_AcseAuthentication;
sMechanismName : STRING;
sPassword : STRING;
sRespondingPass : STRING;
eResult : E_ACSE_AareResult;
eDiagnostic : E_ACSE_AareDiagnostic;
eAbrtDiagnostic : E_ACSE_AbrtDiagnostic;
END_VAR
bAccepted: General result of the verification of the authentication data. TRUE => Connection is accepted and maintained, FALSE => Connection is rejected and closed. This parameter will also be TRUE if no authentication has been configured/activated for both communication partners.
eType: The used/configured authentication mode of type E_AcseAuthentication. Unilateral (standard) or mutual.
sMechanismName: Name of the authentication mechanism. Client => sent name, server => received name (default: '2.2.3.1').
sPassword: Authentication password in plain text. Client => sent password, server => received password.
sRespondingPass: Password in plain text, sent in response to the mutual authentication type.
eResult: Result parameter in the Association Response command of type E_ACSE_AareResult. Result parameter which the server will send as a response to the client, or which the client has already received as a response from the server (in the ACSE-AARE telegram).
eDiagnostic: Diagnostic data for the Association Response command of type E_ACSE_AareDiagnostic. Additional information that the server will send as a response to the client or that the client has already received as a response from the server (in the ACSE-AARE telegram).
eAbrtDiagnostic: Diagnostic data of type E_ACSE_AbrtDiagnostic, which is sent in the Association Abort command in the event of a rejected connection.
Return parameter: TRUE => Success, the client/server application is allowed to check or change the authentication status. FALSE => Error (e.g. command not permitted or not permitted in the current state).