| Package | Description |
|---|---|
| com.prosysopc.ua |
Common classes for client and server side.
|
| com.prosysopc.ua.stack.application |
The code in this package is for application developer.
|
| com.prosysopc.ua.stack.transport |
This package contains SecureChannel and related interfaces
|
| com.prosysopc.ua.stack.transport.security |
This folder contains common security related classes
|
| com.prosysopc.ua.stack.transport.tcp.io |
| Modifier and Type | Field and Description |
|---|---|
protected PrivKey |
SecureIdentity.privateKey |
| Modifier and Type | Method and Description |
|---|---|
PrivKey |
SecureIdentity.getPrivateKey() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
SecureIdentity.decrypt(SecurityAlgorithm algorithm,
byte[] dataToDecrypt,
PrivKey privKey)
Decrypt data using the provided securityPolicy.
|
| Constructor and Description |
|---|
ApplicationIdentity(Cert certificate,
PrivKey privateKey)
Create a new identity
|
SecureIdentity(Cert certificate,
PrivKey privateKey)
Create a new identity
|
UserIdentity(Cert certificate,
PrivKey privateKey)
Create an identity with a user certificate.
|
| Modifier and Type | Method and Description |
|---|---|
PrivKey |
Session.getClientPrivateKey()
Getter for the field
clientPrivateKey. |
PrivKey |
Session.getServerPrivateKey()
Getter for the field
serverPrivateKey. |
| Constructor and Description |
|---|
TransportChannelSettings(EndpointDescription description,
EndpointConfiguration configuration,
Cert clientCertificate,
PrivKey privateKey,
CertificateValidator certificateValidator,
NamespaceTable namespaceUris)
Create Transport channel settings for a opctcp connection
|
| Modifier and Type | Field and Description |
|---|---|
PrivKey |
KeyPair.privateKey |
| Modifier and Type | Method and Description |
|---|---|
PrivKey |
KeyPair.getPrivateKey()
Getter for the field
privateKey. |
static PrivKey |
PrivKey.load(byte[] keyBytes,
String password)
Load private key from key data.
|
static PrivKey |
PrivKey.load(File file)
Deprecated.
Use
load(File, String) or loadFromKeyStore(File, String) instead |
static PrivKey |
PrivKey.load(File file,
String password)
Load private key from a PEM encoded file using the given password.
|
static PrivKey |
PrivKey.load(InputStream is,
String password)
load.
|
static PrivKey |
PrivKey.loadFromKeyStore(File file,
String password)
Load private key from a key store (PKCS12) file
|
static PrivKey |
PrivKey.loadFromKeyStore(URL keystoreUrl,
String password)
Load private key from a PKCS12 key store
|
| Constructor and Description |
|---|
KeyPair(Cert certificate,
PrivKey privateKey)
Constructor for KeyPair.
|
| Modifier and Type | Method and Description |
|---|---|
PrivKey |
OpcTcpSettings.getPrivKey()
Getter for the field
privKey. |
| Modifier and Type | Method and Description |
|---|---|
void |
OpcTcpSettings.setPrivKey(PrivKey privKey)
Setter for the field
privKey. |
Copyright © 2026. All rights reserved.