Package org.pgpainless.exception
Class KeyException.PublicKeyAlgorithmPolicyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pgpainless.exception.KeyException
org.pgpainless.exception.KeyException.PublicKeyAlgorithmPolicyException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- KeyException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.pgpainless.exception.KeyException
KeyException.ExpiredKeyException, KeyException.MissingSecretKeyException, KeyException.PublicKeyAlgorithmPolicyException, KeyException.RevokedKeyException, KeyException.UnacceptableEncryptionKeyException, KeyException.UnacceptableSelfSignatureException, KeyException.UnacceptableSigningKeyException, KeyException.UnboundUserIdException
-
Constructor Summary
ConstructorsConstructorDescriptionPublicKeyAlgorithmPolicyException
(OpenPgpFingerprint fingerprint, long keyId, PublicKeyAlgorithm algorithm, int bitSize) -
Method Summary
Methods inherited from class org.pgpainless.exception.KeyException
getFingerprint
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PublicKeyAlgorithmPolicyException
public PublicKeyAlgorithmPolicyException(@Nonnull OpenPgpFingerprint fingerprint, long keyId, @Nonnull PublicKeyAlgorithm algorithm, int bitSize)
-
-
Method Details
-
getViolatingSubkeyId
public long getViolatingSubkeyId()
-