Git Product home page Git Product logo

opc-ua-stack's Introduction

This project has moved!

The digitalpetri OPC-UA projects have been combined and are now part of the Eclipse IoT project umbrella.

OPC-UA Stack

Join the chat at https://gitter.im/digitalpetri/opc-ua-stack

A high-performance and open-source OPC-UA stack implementation.

Note: this is just a stack implementation (channels, serialization, structures, security). If you're looking to build a client or server, try the OPC-UA Client SDK or OPC-UA Server SDK.

Running the Example

Certificate validation is implemented in the server stack and so upon running the ClientServerExample for the first time you'll probably see a stack trace containing this exception:

Caused by: com.digitalpetri.opcua.stack.core.UaException: security checks failed
	at UaTcpClientAcknowledgeHandler.onError(UaTcpClientAcknowledgeHandler.java:162)
	at UaTcpClientAcknowledgeHandler.decode(UaTcpClientAcknowledgeHandler.java:89)

You'll now find a "security" folder in whatever you've configured your working directory as when running the example. Inside that folder, you should find "rejected", "revocation", and "trusted" folders. Move the client certificate in the "rejected" folder to the "trusted" folder and run the example again.

Maven

Releases are available from Maven Central:

Stack Server

<dependency>
    <groupId>com.digitalpetri.opcua</groupId>
    <artifactId>stack-server</artifactId>
    <version>1.1.0</version>
</dependency>

Stack Client

<dependency>
    <groupId>com.digitalpetri.opcua</groupId>
    <artifactId>stack-client</artifactId>
    <version>1.1.0</version>
</dependency>

The latest snapshots are available from the Sonatype snapshot repository:

<repository>
    <id>oss-sonatype</id>
    <name>oss-sonatype</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>

Supported Features

Transport Protocols

  • OPC-UA TCP

Data Encoding

  • OPC-UA Binary

Security Profiles

  • None
  • Basic128Rsa15
  • Basic256
  • Basic256Sha256
Not Supported
  • SOAP/HTTP/HTTPS Transport
  • XML Data Encoding

Get Help

Contact [email protected] for more information.

License

Apache License, Version 2.0

opc-ua-stack's People

Contributors

gitter-badger avatar kevinherron avatar ljani avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.