[
https://issues.apache.org/jira/browse/PLC4X-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539418#comment-17539418
]
Ben Hutcheson commented on PLC4X-313:
-------------------------------------
Hi Sudheer,
An Encrypted channel isn't yet supported.
As you saw there is a bunch of encryption related stuff in the code, but I
purposely left documenting in off the PLC4X website until it was completed.
That was about a year ago now.
There really isn't much left to do, mainly the Symmetric encryption logic. The
certificate handling and asymmetric encryption has already been implemented.
I always have thoughts about going back and implementing it but I can't promise
anything. Let me know if you are interested in helping with it and I can retest
whats there now and walk you through it.
Ben
> java.lang.ClassCastException: DefaultPlcSubscriptionField cannot be cast to
> class OpcuaField
> --------------------------------------------------------------------------------------------
>
> Key: PLC4X-313
> URL: https://issues.apache.org/jira/browse/PLC4X-313
> Project: Apache PLC4X
> Issue Type: Bug
> Components: Driver-OPC-UA
> Affects Versions: 0.8.0
> Reporter: karthik
> Priority: Major
>
> Hi team -
> i had followed the
> [https://github.com/apache/plc4x/tree/rel/0.8/plc4j/examples/hello-world-plc4x-subscription]
> and facing the below error .
> version : plc4j-driver-opcua-0.8.0
> java : 1.8
> Exception in thread "main" java.util.concurrent.ExecutionException:
> java.lang.ClassCastException:
> org.apache.plc4x.java.spi.model.DefaultPlcSubscriptionField cannot be cast to
> org.apache.plc4x.java.opcua.protocol.OpcuaField
>
> please kindly provide your suggestions.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)