| Package | Description |
|---|---|
| org.eclipse.milo.opcua.stack.core.channel | |
| org.eclipse.milo.opcua.stack.core.security | |
| org.eclipse.milo.opcua.stack.core.util |
| Modifier and Type | Method and Description |
|---|---|
static int |
SecureChannel.getAsymmetricCipherTextBlockSize(Certificate certificate,
SecurityAlgorithm algorithm) |
static int |
SecureChannel.getAsymmetricPlainTextBlockSize(X509Certificate certificate,
SecurityAlgorithm algorithm) |
static int |
SecureChannel.getAsymmetricSignatureSize(Certificate certificate,
SecurityAlgorithm algorithm) |
| Modifier and Type | Method and Description |
|---|---|
static SecurityAlgorithm |
SecurityAlgorithm.fromUri(String securityAlgorithmUri) |
SecurityAlgorithm |
SecurityPolicy.getAsymmetricEncryptionAlgorithm() |
SecurityAlgorithm |
SecurityPolicy.getAsymmetricKeyWrapAlgorithm() |
SecurityAlgorithm |
SecurityPolicy.getAsymmetricSignatureAlgorithm() |
SecurityAlgorithm |
SecurityPolicy.getCertificateSignatureAlgorithm() |
SecurityAlgorithm |
SecurityPolicy.getKeyDerivationAlgorithm() |
SecurityAlgorithm |
SecurityPolicy.getSymmetricEncryptionAlgorithm() |
SecurityAlgorithm |
SecurityPolicy.getSymmetricSignatureAlgorithm() |
static SecurityAlgorithm |
SecurityAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityAlgorithm[] |
SecurityAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
SignatureUtil.hmac(SecurityAlgorithm securityAlgorithm,
byte[] secretKey,
ByteBuffer... buffers)
Compute the HMAC of the provided buffers.
|
static byte[] |
SignatureUtil.sign(SecurityAlgorithm securityAlgorithm,
PrivateKey privateKey,
ByteBuffer... buffers)
Sign the contents of the provided buffers using the provided
SecurityAlgorithm. |
static void |
SignatureUtil.verify(SecurityAlgorithm algorithm,
X509Certificate certificate,
byte[] dataBytes,
byte[] signatureBytes)
Verify that
signatureBytes is a valid signature produced by the private key of certificate
having signed dataBytes using algorithm. |
Copyright © 2025. All rights reserved.