Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg.sig
Class PreferredAEADCiphersuites.Combination

java.lang.Object
  |
  +--org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Combination
Enclosing class:
PreferredAEADCiphersuites

public static class PreferredAEADCiphersuites.Combination
extends java.lang.Object

Algorithm combination of a SymmetricKeyAlgorithmTags and a AEADAlgorithmTags.


Constructor Summary
PreferredAEADCiphersuites.Combination(int symmetricAlgorithmTag, int aeadAlgorithmTag)
          Create a new algorithm combination from a SymmetricKeyAlgorithmTags and a AEADAlgorithmTags.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getAeadAlgorithm()
          Return the AEAD algorithm tag.
 int getSymmetricAlgorithm()
          Return the symmetric algorithm tag.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferredAEADCiphersuites.Combination

public PreferredAEADCiphersuites.Combination(int symmetricAlgorithmTag,
                                             int aeadAlgorithmTag)
Create a new algorithm combination from a SymmetricKeyAlgorithmTags and a AEADAlgorithmTags.
Parameters:
symmetricAlgorithmTag - symmetric algorithm tag
aeadAlgorithmTag - aead algorithm tag
Method Detail

getSymmetricAlgorithm

public int getSymmetricAlgorithm()
Return the symmetric algorithm tag.
Returns:
symmetric algorithm

getAeadAlgorithm

public int getAeadAlgorithm()
Return the AEAD algorithm tag.
Returns:
aead algorithm

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Bouncy Castle Cryptography Library 1.79