Package org.bouncycastle.bcpg.sig
Class PreferredAEADCiphersuites.Builder
- java.lang.Object
-
- org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Builder
-
- Enclosing class:
- PreferredAEADCiphersuites
public static final class PreferredAEADCiphersuites.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreferredAEADCiphersuites.Builder
addCombination(int symmetricAlgorithmId, int aeadAlgorithmId)
Add a combination of cipher- and AEAD algorithm to the list of supported ciphersuites.PreferredAEADCiphersuites
build()
Build aPreferredAEADCiphersuites
from this builder.
-
-
-
Method Detail
-
addCombination
public PreferredAEADCiphersuites.Builder addCombination(int symmetricAlgorithmId, int aeadAlgorithmId)
Add a combination of cipher- and AEAD algorithm to the list of supported ciphersuites.- Parameters:
symmetricAlgorithmId
- symmetric cipher algorithm IDaeadAlgorithmId
- AEAD algorithm ID- Returns:
- builder
- See Also:
for cipher algorithms
,for AEAD algorithms
-
build
public PreferredAEADCiphersuites build()
Build aPreferredAEADCiphersuites
from this builder.- Returns:
- finished packet
-
-