Package org.pgpainless.key.util
Class RevocationAttributes
java.lang.Object
org.pgpainless.key.util.RevocationAttributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Reason for revocation.static enum
static final class
static final class
-
Method Summary
Modifier and TypeMethodDescriptionBuild aRevocationAttributes
object suitable for certification (e.g.Build aRevocationAttributes
object suitable for key revocations.Return the human-readable description for the revocation reason.Return the machine-readable reason for revocation.
-
Method Details
-
getReason
Return the machine-readable reason for revocation.- Returns:
- reason
-
getDescription
Return the human-readable description for the revocation reason.- Returns:
- description
-
createKeyRevocation
Build aRevocationAttributes
object suitable for key revocations. Key revocations are revocations for keys or subkeys.- Returns:
- builder
-
createCertificateRevocation
Build aRevocationAttributes
object suitable for certification (e.g. user-id) revocations.- Returns:
- builder
-