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 B
addSubkey
(KeySpecBuilder builder) addUserId
(byte[] userId) default B
org.bouncycastle.openpgp.PGPSecretKeyRing
build()
setExpirationDate
(Date expirationDate) setPassphrase
(Passphrase passphrase) setPrimaryKey
(KeySpec keySpec) default B
setPrimaryKey
(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:
NoSuchAlgorithmException
org.bouncycastle.openpgp.PGPException
InvalidAlgorithmParameterException
-