A type of SecurityException which is thrown when an issue with generating key pairs occurs.
To run this example, clone Jervis and execute ./gradlew console to bring up a Groovy Console with the classpath set up.
import net.gleske.jervis.exceptions.KeyPairDecodeException throw new KeyPairDecodeException('some reason')
Constructor and description |
---|
KeyPairDecodeException
(String message) Throw an exception relaying why decoding a string possibly containing a PEM encoded X.509 private key failed. |
Methods inherited from class | Name |
---|---|
class Exception |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Throw an exception relaying why decoding a string possibly containing a PEM encoded X.509 private key failed.
message
- A simple message.Jervis API documentation.