Uses of Enum Class
org.eclipse.milo.opcua.stack.core.security.SecurityAlgorithm
Packages that use SecurityAlgorithm
Package
Description
-
Uses of SecurityAlgorithm in org.eclipse.milo.opcua.stack.core.channel
Methods in org.eclipse.milo.opcua.stack.core.channel with parameters of type SecurityAlgorithmModifier and TypeMethodDescriptionstatic intSecureChannel.getAsymmetricCipherTextBlockSize(Certificate certificate, SecurityAlgorithm algorithm) static intSecureChannel.getAsymmetricPlainTextBlockSize(X509Certificate certificate, SecurityAlgorithm algorithm) static intSecureChannel.getAsymmetricSignatureSize(Certificate certificate, SecurityAlgorithm algorithm) -
Uses of SecurityAlgorithm in org.eclipse.milo.opcua.stack.core.security
Methods in org.eclipse.milo.opcua.stack.core.security that return SecurityAlgorithmModifier and TypeMethodDescriptionstatic SecurityAlgorithmSecurityPolicy.getAsymmetricEncryptionAlgorithm()SecurityPolicy.getAsymmetricKeyWrapAlgorithm()SecurityPolicy.getAsymmetricSignatureAlgorithm()SecurityPolicy.getCertificateSignatureAlgorithm()SecurityPolicy.getKeyDerivationAlgorithm()SecurityPolicy.getSymmetricEncryptionAlgorithm()SecurityPolicy.getSymmetricSignatureAlgorithm()static SecurityAlgorithmReturns the enum constant of this class with the specified name.static SecurityAlgorithm[]SecurityAlgorithm.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of SecurityAlgorithm in org.eclipse.milo.opcua.stack.core.util
Methods in org.eclipse.milo.opcua.stack.core.util with parameters of type SecurityAlgorithmModifier and TypeMethodDescriptionstatic 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 providedSecurityAlgorithm.static voidSignatureUtil.verify(SecurityAlgorithm algorithm, X509Certificate certificate, byte[] dataBytes, byte[] signatureBytes) Verify thatsignatureBytesis a valid signature produced by the private key ofcertificatehaving signeddataBytesusingalgorithm.