Uses of Class
org.opcfoundation.ua.transport.security.SecurityAlgorithm

Packages that use SecurityAlgorithm
org.opcfoundation.ua.transport.security This folder contains common security related classes 
org.opcfoundation.ua.utils Utility classes 
 

Uses of SecurityAlgorithm in org.opcfoundation.ua.transport.security
 

Methods in org.opcfoundation.ua.transport.security that return SecurityAlgorithm
 SecurityAlgorithm SecurityPolicy.getAsymmetricEncryptionAlgorithm()
          Getter for the field asymmetricEncryptionAlgorithm.
 SecurityAlgorithm SecurityPolicy.getAsymmetricKeyWrapAlgorithm()
          Getter for the field asymmetricKeyWrapAlgorithm.
 SecurityAlgorithm SecurityPolicy.getAsymmetricSignatureAlgorithm()
          Getter for the field asymmetricSignatureAlgorithm.
 SecurityAlgorithm SecurityPolicy.getKeyDerivationAlgorithm()
          Getter for the field keyDerivationAlgorithm.
 SecurityAlgorithm SecurityPolicy.getSymmetricEncryptionAlgorithm()
          Getter for the field symmetricEncryptionAlgorithm.
 SecurityAlgorithm SecurityPolicy.getSymmetricSignatureAlgorithm()
          Getter for the field symmetricSignatureAlgorithm.
static SecurityAlgorithm SecurityAlgorithm.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SecurityAlgorithm SecurityAlgorithm.valueOfUri(String algorithmUri)
          Find the SecurityAlgorithm with URI.
static SecurityAlgorithm[] SecurityAlgorithm.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.opcfoundation.ua.transport.security with parameters of type SecurityAlgorithm
 Mac ScCryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 Mac JceCryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 Mac CryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 Mac BcCryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 int ScCryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 int JceCryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 int CryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 int BcCryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 void ScCryptoProvider.encryptAsymm(PublicKey encryptingCertificate, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 void JceCryptoProvider.encryptAsymm(PublicKey remotePublicKey, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 void CryptoProvider.encryptAsymm(PublicKey encryptingCertificate, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 void BcCryptoProvider.encryptAsymm(PublicKey encryptingCertificate, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 byte[] ScCryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 byte[] JceCryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 byte[] CryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 byte[] BcCryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 boolean ScCryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 boolean JceCryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 boolean CryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 boolean BcCryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 

Uses of SecurityAlgorithm in org.opcfoundation.ua.utils
 

Methods in org.opcfoundation.ua.utils with parameters of type SecurityAlgorithm
static byte[] CryptoUtil.asymmEncrypt(byte[] input, Key key, SecurityAlgorithm algorithm)
          Deprecated. 
static Mac CryptoUtil.createMac(SecurityAlgorithm algorithm, byte[] secret)
          Create Message Authentication Code (MAC)
static ByteString CryptoUtil.createNonce(SecurityAlgorithm algorithm)
          createNonce.
static byte[] CryptoUtil.encryptAsymm(byte[] input, PublicKey key, SecurityAlgorithm algorithm)
          Convenience method for CryptoProvider.encryptAsymm(java.security.PublicKey, org.opcfoundation.ua.transport.security.SecurityAlgorithm, byte[], byte[], int).
static Cipher CryptoUtil.getAsymmetricCipher(SecurityAlgorithm algorithm)
          Create signer instance using an algorithm uri.
static int CryptoUtil.getAsymmInputBlockSize(SecurityAlgorithm algorithm)
          getAsymmInputBlockSize.
static int CryptoUtil.getCipherBlockSize(SecurityAlgorithm algorithm, Key key)
          Get cipher block (=output) size in bytes
static int CryptoUtil.getNonceLength(SecurityAlgorithm algorithm)
          Returns the length of the nonce to be used with an asymmetric or symmetric encryption algorithm.
static int CryptoUtil.getPlainTextBlockSize(SecurityAlgorithm securityAlgorithm, Key key)
          Get plain text block (=input) size in bytes
static int CryptoUtil.getSignatureSize(SecurityAlgorithm signatureAlgorithm, Key key)
          Get signature size in bytes
static SignatureData CertificateUtils.sign(PrivateKey signerKey, SecurityAlgorithm algorithm, byte[] dataToSign)
          Deprecated. Use CryptoUtil.signAsymm(PrivateKey, SecurityAlgorithm, byte[]) instead.
static SignatureData CryptoUtil.signAsymm(PrivateKey signerKey, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
static boolean CertificateUtils.verify(X509Certificate certificate, SecurityAlgorithm algorithm, byte[] data, byte[] signature)
          Deprecated. Use CryptoUtil.verifyAsymm(X509Certificate, SecurityAlgorithm, byte[], byte[]) instead.
static boolean CryptoUtil.verifyAsymm(X509Certificate certificate, SecurityAlgorithm algorithm, byte[] data, byte[] signature)
          Verify a signature.
 



Copyright © 2018. All rights reserved.