1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-25 22:02:05 +01:00

Update README

This commit is contained in:
Paul Schaub 2021-11-02 12:25:52 +01:00
parent 03a350d279
commit c20b8c7a0c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -81,7 +81,7 @@ There are some predefined key archetypes, but it is possible to fully customize
.modernKeyRing("Romeo <romeo@montague.lit>", "I defy you, stars!");
// Customized key
PGPSecretKeyRing keyRing = PGPainless.generateKeyRing()
PGPSecretKeyRing keyRing = PGPainless.buildKeyRing()
.setPrimaryKey(KeySpec.getBuilder(
RSA.withLength(RsaLength._8192),
KeyFlag.SIGN_DATA, KeyFlag.CERTIFY_OTHER))