Package 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.ObjectAlgorithm combination of aSymmetricKeyAlgorithmTagsand aAEADAlgorithmTags.
-
-
Constructor Summary
Constructors Constructor Description Combination(int symmetricAlgorithmTag, int aeadAlgorithmTag)Create a new algorithm combination from aSymmetricKeyAlgorithmTagsand aAEADAlgorithmTags.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetAeadAlgorithm()Return the AEAD algorithm tag.intgetSymmetricAlgorithm()Return the symmetric algorithm tag.inthashCode()
-
-
-
Constructor Detail
-
Combination
public Combination(int symmetricAlgorithmTag, int aeadAlgorithmTag)Create a new algorithm combination from aSymmetricKeyAlgorithmTagsand aAEADAlgorithmTags.- Parameters:
symmetricAlgorithmTag- symmetric algorithm tagaeadAlgorithmTag- 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-