Package org.pgpainless.key.generation
Class KeySpecBuilder
- java.lang.Object
-
- org.pgpainless.key.generation.KeySpecBuilder
-
- All Implemented Interfaces:
KeySpecBuilderInterface
public class KeySpecBuilder extends Object implements KeySpecBuilderInterface
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeySpec
build()
KeySpecBuilder
overridePreferredCompressionAlgorithms(CompressionAlgorithm... compressionAlgorithms)
KeySpecBuilder
overridePreferredHashAlgorithms(HashAlgorithm... preferredHashAlgorithms)
KeySpecBuilder
overridePreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm... preferredSymmetricKeyAlgorithms)
-
-
-
Method Detail
-
overridePreferredCompressionAlgorithms
public KeySpecBuilder overridePreferredCompressionAlgorithms(@Nonnull CompressionAlgorithm... compressionAlgorithms)
- Specified by:
overridePreferredCompressionAlgorithms
in interfaceKeySpecBuilderInterface
-
overridePreferredHashAlgorithms
public KeySpecBuilder overridePreferredHashAlgorithms(@Nonnull HashAlgorithm... preferredHashAlgorithms)
- Specified by:
overridePreferredHashAlgorithms
in interfaceKeySpecBuilderInterface
-
overridePreferredSymmetricKeyAlgorithms
public KeySpecBuilder overridePreferredSymmetricKeyAlgorithms(@Nonnull SymmetricKeyAlgorithm... preferredSymmetricKeyAlgorithms)
- Specified by:
overridePreferredSymmetricKeyAlgorithms
in interfaceKeySpecBuilderInterface
-
build
public KeySpec build()
- Specified by:
build
in interfaceKeySpecBuilderInterface
-
-