/// <summary> /// Append auth_verifier to the end of PDU. /// </summary> public override void AppendAuthenticationVerifier() { FieldInfo fieldInfo = this.GetType().GetField("auth_verifier"); if (fieldInfo == null) { return; } byte[] stub = GetStub(); auth_verifier_co_t?authVerifier = RpceUtility.AuthVerifierCreateInstance( PTYPE, stub != null ? stub.Length : 0, context.SecurityContext, context.AuthenticationType, context.AuthenticationLevel, context.AuthenticationContextId); fieldInfo.SetValue(this, authVerifier); }