Package org.pgpainless.key.generation
Interface KeyRingBuilderInterface<B extends KeyRingBuilderInterface<B>>
- All Known Implementing Classes:
KeyRingBuilder
public interface KeyRingBuilderInterface<B extends KeyRingBuilderInterface<B>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BaddSubkey(KeySpecBuilder builder) addUserId(byte[] userId) default Borg.bouncycastle.openpgp.PGPSecretKeyRingbuild()setExpirationDate(Date expirationDate) setPassphrase(Passphrase passphrase) setPrimaryKey(KeySpec keySpec) default BsetPrimaryKey(KeySpecBuilder builder)
-
Method Details
-
setPrimaryKey
-
setPrimaryKey
-
addSubkey
-
addSubkey
-
addUserId
-
addUserId
-
addUserId
-
setExpirationDate
-
setPassphrase
-
build
org.bouncycastle.openpgp.PGPSecretKeyRing build() throws NoSuchAlgorithmException, org.bouncycastle.openpgp.PGPException, InvalidAlgorithmParameterException- Throws:
NoSuchAlgorithmExceptionorg.bouncycastle.openpgp.PGPExceptionInvalidAlgorithmParameterException
-