Package org.bouncycastle.bcpg.sig
Class PreferredAEADCiphersuites.Combination
java.lang.Object
org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Combination
- Enclosing class:
PreferredAEADCiphersuites
Algorithm combination of a
SymmetricKeyAlgorithmTags and a AEADAlgorithmTags.-
Constructor Summary
ConstructorsConstructorDescriptionCombination(int symmetricAlgorithmTag, int aeadAlgorithmTag) Create a new algorithm combination from aSymmetricKeyAlgorithmTagsand aAEADAlgorithmTags. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturn the AEAD algorithm tag.intReturn the symmetric algorithm tag.inthashCode()
-
Constructor Details
-
Combination
public Combination(int symmetricAlgorithmTag, int aeadAlgorithmTag) Create a new algorithm combination from aSymmetricKeyAlgorithmTagsand aAEADAlgorithmTags.- Parameters:
symmetricAlgorithmTag- symmetric algorithm tagaeadAlgorithmTag- aead algorithm tag
-
-
Method Details
-
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
-
hashCode
public int hashCode()
-