| 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.cert | |
| com.prosysopc.ua.stack.transport |
This package contains SecureChannel and related interfaces
|
| com.prosysopc.ua.stack.transport.https |
Code for creating a HTTPS based secure channel
|
| com.prosysopc.ua.stack.transport.security |
This folder contains common security related classes
|
| com.prosysopc.ua.stack.transport.tcp.io | |
| com.prosysopc.ua.stack.transport.tcp.nio | |
| com.prosysopc.ua.stack.utils |
Utility classes
|
| Modifier and Type | Field and Description |
|---|---|
protected Cert |
SecureIdentity.certificate |
| Modifier and Type | Method and Description |
|---|---|
Cert |
SecureIdentity.getCertificate() |
| 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 |
|---|---|
Cert |
Session.getClientCertificate()
Getter for the field
clientCertificate. |
Cert |
Session.getServerCertificate()
Getter for the field
serverCertificate. |
| Modifier and Type | Method and Description |
|---|---|
SecureChannel |
Client.createSecureChannel(String connectUrl,
String endpointUri,
SecurityMode mode,
Cert remoteCertificate)
Create and open a secure channel.
|
ServiceChannel |
Client.createServiceChannel(String connectUrl,
String endpointUri,
SecurityMode mode,
Cert remoteCertificate)
Create and open a service channel.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Cert> |
PkiDirectoryCertificateStore.getRejectedCerts() |
Set<Cert> |
CertificateStore.getRejectedCerts()
Get all certificates that are stored as Rejected.
|
Set<Cert> |
PkiDirectoryCertificateStore.getTrustedCerts() |
Set<Cert> |
CertificateStore.getTrustedCerts()
Get all certificates that are stored as Trusted.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PkiDirectoryCertificateStore.addCertificate(ValidationResult type,
Cert certificate) |
void |
CertificateStore.addCertificate(ValidationResult type,
Cert certificate)
Add a certificate to the store.
|
void |
PkiDirectoryCertificateStore.addRejectedCertificate(Cert certificate)
Add a certificate to the rejected certificates.
|
void |
PkiDirectoryCertificateStore.addTrustedCertificate(Cert certificate)
Add a certificate to the trusted certificates.
|
File |
PkiDirectoryCertificateStore.getFileForCert(Cert cert)
Returns File for the given Certificate.
|
void |
DefaultCertificateStoreListener.onRejectedCertificateAdded(Cert cert)
Called after
DefaultCertificateValidator adds a Certificate to Rejected certificates |
void |
DefaultCertificateStoreListener.onTrustedCertificateAdded(Cert cert)
Called after
DefaultCertificateValidator adds a Certificate to Trusted certificates |
ValidationResult |
DefaultCertificateValidatorListener.onValidate(Cert certificate,
ApplicationDescription applicationDescription,
EnumSet<CertificateCheck> passedChecks)
Handle certificate validation.
|
void |
PkiDirectoryCertificateStore.removeCertificate(Cert certificate)
Removes a certificate from the store.
|
StatusCode |
DefaultCertificateValidator.validateCertificate(ApplicationDescription applicationDescription,
Cert cert) |
StatusCode |
DefaultCertificateValidator.validateCertificate(Cert cert) |
| Modifier and Type | Method and Description |
|---|---|
Cert |
ServerSecureChannel.getRemoteCertificate()
Get Remote Application Instance Certificate
|
Cert |
TransportChannelSettings.getServerCertificate()
getServerCertificate.
|
| 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 | Method and Description |
|---|---|
Cert |
HttpsServerSecureChannel.getRemoteCertificate()
getRemoteCertificate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpsSettings.setKeyPair(KeyPair keypair,
Cert... caCerts)
Set keypair of a https application.
|
void |
HttpsSettings.setKeyPairs(KeyPair[] keypairs,
Cert... caCerts)
Set keypairs to a https application.
|
| Modifier and Type | Field and Description |
|---|---|
Cert |
KeyPair.certificate |
| Modifier and Type | Method and Description |
|---|---|
static Cert |
Cert.fromEncoded(byte[] encodedCertChain)
Create
Cert from encoded data. |
static Cert |
Cert.fromx509Certificates(X509Certificate... certChain)
Create
Cert from given one ore more X509Certificate certificates. |
Cert |
KeyPair.getCertificate()
Getter for the field
certificate. |
Cert |
SecurityConfiguration.getLocalCertificate()
Returns
Cert of the local side (or null if none). |
Cert |
SecurityConfiguration.getRemoteCertificate()
getRemoteCertificate2.
|
static Cert |
Cert.load(File file)
Load X.509 Certificate from a file
|
static Cert |
Cert.load(URL url)
Load X.509 Certificate from an url
|
| Modifier and Type | Method and Description |
|---|---|
void |
CertificateValidatorImpl.addTrustedCertificate(Cert certificate)
Deprecated.
addTrustedCertificate.
|
void |
CertificateValidatorImpl.addTrustedSigner(Cert signer)
Deprecated.
addTrustedSigner.
|
boolean |
SecurityPolicy.isUsableWith(Cert cert)
Checks if a certificate is useable for this security policy.
|
void |
PrivKey.saveToKeyStore(Cert cert,
File file,
String privateKeyPassword,
String keyStorePassword,
String keyStoreType)
Save the identity to a password protected keystore.
|
StatusCode |
CertificateValidator.validateCertificate(ApplicationDescription applicationDescription,
Cert cert)
Validate the given application instance certificate against the ApplicationDescription.
|
StatusCode |
AllowAllCertificatesValidator.validateCertificate(ApplicationDescription applicationDescription,
Cert cert) |
StatusCode |
CertificateValidatorImpl.validateCertificate(ApplicationDescription applicationDescription,
Cert cert)
Deprecated.
|
StatusCode |
CertificateValidator.validateCertificate(Cert cert)
Validate the given application instance or user authentication certificate.
|
StatusCode |
AllowAllCertificatesValidator.validateCertificate(Cert c)
Validate the given application instance or user authentication certificate.
|
StatusCode |
CertificateValidatorImpl.validateCertificate(Cert c)
Deprecated.
Validate the given application instance or user authentication certificate.
|
| Constructor and Description |
|---|
CertificateValidatorImpl(Cert... trustedCertificates)
Deprecated.
Constructor for CertificateValidatorImpl.
|
KeyPair(Cert certificate,
PrivKey privateKey)
Constructor for KeyPair.
|
SecurityConfiguration(SecurityMode mode,
KeyPair localApplicationInstanceCertificate,
Cert remoteCertificate)
Constructor for SecurityConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
Cert |
OpcTcpSettings.getClientCertificate()
Getter for the field
clientCertificate. |
| Modifier and Type | Method and Description |
|---|---|
void |
OpcTcpSettings.setClientCertificate(Cert clientCertificate)
Setter for the field
clientCertificate. |
| Modifier and Type | Method and Description |
|---|---|
Cert |
OpcTcpServerSecureChannel.getRemoteCertificate()
getRemoteCertificate.
|
| Modifier and Type | Method and Description |
|---|---|
static X509IdentityToken |
EndpointUtil.createX509IdentityToken(EndpointDescription ep,
ByteString serverNonce,
Cert certificate,
PrivateKey key,
SignatureData signatureData)
createX509IdentityToken.
|
static String |
CertificateUtils.getApplicationUriOfCertificate(Cert certificate)
getApplicationUriOfCertificate.
|
static List<String> |
CertificateUtils.getDnsOfCertificate(Cert certificate)
Returns the DNS names (in lower case and punycode resolved) of the certificate as defined in
the SubjectAlternativeName field.
|
static List<String> |
CertificateUtils.getIpOfCertificate(Cert certificate)
getIpOfCertificate.
|
Copyright © 2026. All rights reserved.